MCPcopy Create free account

hub / github.com/andersonmarquesgit/chargeback / functions

Functions194 in github.com/andersonmarquesgit/chargeback

↓ 20 callersMethodClose
()
chargeback-batch/internal/infrastructure/transfer/ftp/client.go:5
↓ 14 callersFunctiongetEnv
Funções auxiliares para carregar variáveis de ambiente
chargeback-batch/internal/config/config.go:108
↓ 13 callersFunctiongetEnv
Funções auxiliares para carregar variáveis de ambiente
chargeback-processor/internal/config/config.go:96
↓ 6 callersFunctiongetEnv
Funções auxiliares para carregar variáveis de ambiente
chargeback-api/internal/config/config.go:63
↓ 3 callersMethodrotateFile
()
chargeback-processor/internal/infrastructure/filewriter/chargeback-writer.go:72
↓ 2 callersMethodCreateChargeback
(userID, transactionID, reason, fileID string, createdAt, updatedAt time.Time)
chargeback-processor/internal/domain/respositories/chargeback-repository.go:9
↓ 2 callersMethodMarkAsFailed
(fileID string)
chargeback-batch/internal/domain/repositories/batch-files-repository.go:8
↓ 2 callersMethodStop
()
chargeback-api/internal/interfaces/http/server.go:57
↓ 2 callersMethodWrite
(cb models.Chargeback)
chargeback-processor/internal/infrastructure/filewriter/chargeback-writer.go:42
↓ 2 callersFunctiongetEnvAsBool
(name string, defaultVal bool)
chargeback-batch/internal/config/config.go:135
↓ 2 callersFunctiongetEnvAsDuration
(name string, defaultVal time.Duration)
chargeback-api/internal/config/config.go:70
↓ 2 callersFunctiongetEnvAsDuration
(name string, defaultVal time.Duration)
chargeback-processor/internal/config/config.go:103
↓ 2 callersFunctiongetEnvAsDuration
(name string, defaultVal time.Duration)
chargeback-batch/internal/config/config.go:115
↓ 2 callersFunctiongetEnvAsInt
(name string, defaultVal int)
chargeback-batch/internal/config/config.go:125
↓ 1 callersMethodClose
()
chargeback-api/internal/application/application.go:92
↓ 1 callersMethodClose
()
chargeback-processor/internal/application/application.go:131
↓ 1 callersMethodClose
()
chargeback-batch/internal/application/application.go:123
↓ 1 callersMethodDownloadFile
(localPath string, objectName string)
chargeback-batch/internal/infrastructure/objectstorage/downloader.go:4
↓ 1 callersMethodGetBatchFilesOfDay
(batchMaxFiles int)
chargeback-batch/internal/domain/repositories/batch-files-repository.go:6
↓ 1 callersMethodGetBucketName
()
chargeback-processor/internal/infrastructure/objectstorage/uploader.go:5
↓ 1 callersMethodGetChargeback
(userID, transactionID string)
chargeback-api/internal/domain/respositories/chargeback-repository.go:8
↓ 1 callersMethodInsertBatchFile
(file *models.BatchFile)
chargeback-batch/internal/domain/repositories/batch-files-repository.go:7
↓ 1 callersMethodListen
(handler func(amqp.Delivery) error)
chargeback-processor/internal/infrastructure/rabbitmq/consumers/consumers.go:75
↓ 1 callersMethodListen
(handler func(amqp.Delivery) error)
chargeback-batch/internal/infrastructure/rabbitmq/consumers/consumers.go:75
↓ 1 callersMethodMarkAsSent
(fileID string)
chargeback-batch/internal/domain/repositories/batch-files-repository.go:9
↓ 1 callersMethodMaybeFlush
()
chargeback-processor/internal/infrastructure/filewriter/chargeback-writer.go:136
↓ 1 callersFunctionNewChargebackBatchEventConsumer
(conn *amqp.Connection)
chargeback-batch/internal/infrastructure/rabbitmq/consumers/chargeback-batch-event-consumer.go:8
↓ 1 callersFunctionNewChargebackBatchProducer
(conn *amqp.Connection)
chargeback-processor/internal/infrastructure/rabbitmq/producers/chargeback-batch-producers.go:9
↓ 1 callersFunctionNewChargebackOpenedEventConsumer
(conn *amqp.Connection)
chargeback-processor/internal/infrastructure/rabbitmq/consumers/chargeback-opened-event-consumer.go:8
↓ 1 callersFunctionNewChargebackOpenedProducer
(conn *amqp.Connection)
chargeback-api/internal/infrastructure/rabbitmq/producers/chargeback-opened-producers.go:9
↓ 1 callersFunctionNewChargebackRoutes
(handlers *handlers.ChargebackOpenedHandler)
chargeback-api/internal/interfaces/http/routes/chargeback-routes.go:8
↓ 1 callersMethodProcess
(msg amqp.Delivery)
chargeback-processor/internal/usecases/chargeback-opened-event-usecase.go:24
↓ 1 callersMethodProcess
(msg amqp.Delivery)
chargeback-batch/internal/usecases/chargeback-batch-event-usecase.go:21
↓ 1 callersMethodPublishChargebackBatchEvent
(message []byte, traceID string)
chargeback-processor/internal/infrastructure/rabbitmq/producers/chargeback-batch-producers.go:24
↓ 1 callersMethodPublishChargebackOpenedEvent
(message []byte, userID, transactionID, traceID string)
chargeback-api/internal/infrastructure/rabbitmq/producers/chargeback-opened-producers.go:24
↓ 1 callersMethodStart
()
chargeback-api/internal/interfaces/http/server.go:53
↓ 1 callersMethodUpload
(localPath, remotePath string)
chargeback-batch/internal/infrastructure/transfer/ftp/client.go:4
↓ 1 callersMethodUploadFile
(localPath string, objectName string)
chargeback-processor/internal/infrastructure/objectstorage/uploader.go:4
↓ 1 callersFunctionWriteJSON
(w http.ResponseWriter, status int, data any, headers ...http.Header)
chargeback-api/internal/presentation/response.go:14
↓ 1 callersFunctionaddLoggerHooks
(msg amqp.Delivery)
chargeback-processor/internal/infrastructure/rabbitmq/consumers/consumers.go:114
↓ 1 callersFunctionaddLoggerHooks
(msg amqp.Delivery)
chargeback-batch/internal/infrastructure/rabbitmq/consumers/consumers.go:114
↓ 1 callersFunctiongetEnvAsBool
(name string, defaultVal bool)
chargeback-api/internal/config/config.go:90
↓ 1 callersFunctiongetEnvAsBool
(name string, defaultVal bool)
chargeback-processor/internal/config/config.go:123
↓ 1 callersFunctiongetEnvAsDurationWithUnit
(valueKey string, unitKey string, defaultVal time.Duration)
chargeback-processor/internal/config/config.go:135
↓ 1 callersFunctiongetEnvAsDurationWithUnit
(valueKey string, unitKey string, defaultVal time.Duration)
chargeback-batch/internal/config/config.go:147
↓ 1 callersFunctiongetEnvAsInt
(name string, defaultVal int)
chargeback-processor/internal/config/config.go:113
↓ 1 callersMethodnotifyBatchReady
(fileID string, recordCount int)
chargeback-processor/internal/infrastructure/filewriter/chargeback-writer.go:118
↓ 1 callersFunctionprocessBatchFiles
(repo repositories.BatchFilesRepository, downloader objectstorage.Downloader, ftpClient ftp.Client, maxFilesPe
chargeback-batch/internal/scheduler/scheduler-batch-files.go:25
↓ 1 callersMethodsetup
(exchangeType string)
chargeback-api/internal/infrastructure/rabbitmq/producers/producers.go:30
↓ 1 callersMethodsetup
()
chargeback-processor/internal/infrastructure/rabbitmq/consumers/consumers.go:48
↓ 1 callersMethodsetup
(exchangeType string)
chargeback-processor/internal/infrastructure/rabbitmq/producers/producers.go:30
↓ 1 callersMethodsetup
()
chargeback-batch/internal/infrastructure/rabbitmq/consumers/consumers.go:48
MethodClose
()
chargeback-batch/internal/infrastructure/transfer/ftp/ftp-client.go:43
FunctionConnect
(url string)
chargeback-api/internal/infrastructure/rabbitmq/connection.go:13
FunctionConnect
(url string)
chargeback-processor/internal/infrastructure/rabbitmq/connection.go:13
FunctionConnect
(url string)
chargeback-batch/internal/infrastructure/rabbitmq/connection.go:13
MethodCreateChargeback
(req dto.ChargebackRequest, traceID string)
chargeback-api/internal/usecases/chargeback-opened-usecase.go:26
MethodCreateChargeback
CreateChargeback godoc @Summary Open a chargeback for user and transaction @Description Verify if the chargeback exists using idempotency with user ID
chargeback-api/internal/interfaces/http/handlers/chargeback-opened-handler.go:37
MethodCreateChargeback
(userID, transactionID, reason, fileID string, createdAt, updatedAt time.Time)
chargeback-processor/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:19
FunctionDebug
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:46
FunctionDebug
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:46
FunctionDebug
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:46
FunctionDebugf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:70
FunctionDebugf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:70
FunctionDebugf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:70
FunctionDebugln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:94
FunctionDebugln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:94
FunctionDebugln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:94
FunctionDeclareExchange
(ch *amqp.Channel, exchangeName, exchangeType string)
chargeback-api/internal/infrastructure/rabbitmq/event.go:5
FunctionDeclareExchange
(ch *amqp.Channel, exchangeName, exchangeType string)
chargeback-processor/internal/infrastructure/rabbitmq/event.go:5
FunctionDeclareExchange
(ch *amqp.Channel, exchangeName, exchangeType string)
chargeback-batch/internal/infrastructure/rabbitmq/event.go:5
FunctionDeclareQueue
(ch *amqp.Channel, queueName string)
chargeback-api/internal/infrastructure/rabbitmq/event.go:17
FunctionDeclareQueue
(ch *amqp.Channel, queueName string)
chargeback-processor/internal/infrastructure/rabbitmq/event.go:17
FunctionDeclareQueue
(ch *amqp.Channel, queueName string)
chargeback-batch/internal/infrastructure/rabbitmq/event.go:17
MethodDownloadFile
(localPath string, objectName string)
chargeback-batch/internal/infrastructure/objectstorage/minio/batch-file-downloader.go:50
FunctionError
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:38
FunctionError
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:38
FunctionError
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:38
FunctionErrorJSON
(w http.ResponseWriter, err error, status int)
chargeback-api/internal/presentation/response.go:32
FunctionErrorf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:62
FunctionErrorf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:62
FunctionErrorf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:62
FunctionErrorln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:86
FunctionErrorln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:86
FunctionErrorln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:86
FunctionFatal
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:50
FunctionFatal
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:50
FunctionFatal
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:50
FunctionFatalf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:74
FunctionFatalf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:74
FunctionFatalf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:74
FunctionFatalln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:98
FunctionFatalln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:98
FunctionFatalln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:98
MethodFire
(entry *logrus.Entry)
chargeback-api/internal/infrastructure/logging/logging-hooks.go:17
MethodFire
(entry *logrus.Entry)
chargeback-api/internal/infrastructure/logging/logging-hooks.go:33
MethodFire
(entry *logrus.Entry)
chargeback-processor/internal/infrastructure/logging/logging-hooks.go:17
MethodFire
(entry *logrus.Entry)
chargeback-processor/internal/infrastructure/logging/logging-hooks.go:33
MethodFire
(entry *logrus.Entry)
chargeback-batch/internal/infrastructure/logging/logging-hooks.go:17
MethodFire
(entry *logrus.Entry)
chargeback-batch/internal/infrastructure/logging/logging-hooks.go:33
next →1–100 of 194, ranked by callers