MCPcopy Create free account

hub / github.com/andersonmarquesgit/chargeback / functions

Functions194 in github.com/andersonmarquesgit/chargeback

MethodGetBatchFilesOfDay
(batchMaxFiles int)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:20
MethodGetBucketName
()
chargeback-processor/internal/infrastructure/objectstorage/minio/chargeback-uploader.go:73
MethodGetChargeback
(userID, transactionID string)
chargeback-api/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:18
MethodHandleChargebackOpenedEvent
(msg amqp.Delivery)
chargeback-processor/internal/interfaces/events/handlers/chargeback-opened-event-handler.go:20
MethodHandleChargebackOpenedEvent
(msg amqp.Delivery)
chargeback-batch/internal/interfaces/events/handlers/chargeback-batch-event-handler.go:20
FunctionInfo
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:34
FunctionInfo
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:34
FunctionInfo
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:34
FunctionInfof
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:58
FunctionInfof
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:58
FunctionInfof
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:58
FunctionInfoln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:82
FunctionInfoln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:82
FunctionInfoln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:82
FunctionInitializeLogger
InitializeLogger configura o logger para usar o New Relic e o logrus
chargeback-api/internal/infrastructure/logging/logging.go:17
FunctionInitializeLogger
InitializeLogger configura o logger para usar o New Relic e o logrus
chargeback-processor/internal/infrastructure/logging/logging.go:17
FunctionInitializeLogger
InitializeLogger configura o logger para usar o New Relic e o logrus
chargeback-batch/internal/infrastructure/logging/logging.go:17
MethodInsertBatchFile
(file *models.BatchFile)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:63
MethodLevels
()
chargeback-api/internal/infrastructure/logging/logging-hooks.go:13
MethodLevels
()
chargeback-api/internal/infrastructure/logging/logging-hooks.go:29
MethodLevels
()
chargeback-processor/internal/infrastructure/logging/logging-hooks.go:13
MethodLevels
()
chargeback-processor/internal/infrastructure/logging/logging-hooks.go:29
MethodLevels
()
chargeback-batch/internal/infrastructure/logging/logging-hooks.go:13
MethodLevels
()
chargeback-batch/internal/infrastructure/logging/logging-hooks.go:29
FunctionLoadConfig
()
chargeback-api/internal/config/config.go:41
FunctionLoadConfig
()
chargeback-processor/internal/config/config.go:58
FunctionLoadConfig
()
chargeback-batch/internal/config/config.go:65
MethodMarkAsFailed
(fileID string)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:110
MethodMarkAsSent
(fileID string)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:95
FunctionNewApplication
(cfg *config.Config)
chargeback-api/internal/application/application.go:27
FunctionNewApplication
(cfg *config.Config)
chargeback-processor/internal/application/application.go:31
FunctionNewApplication
(cfg *config.Config)
chargeback-batch/internal/application/application.go:34
FunctionNewBatchFileDownloader
(endpoint, accessKey, secretKey, bucketName string, useSSL bool)
chargeback-batch/internal/infrastructure/objectstorage/minio/batch-file-downloader.go:19
FunctionNewBatchFilesRepositoryPostgres
(db *sql.DB)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:14
FunctionNewCassandraSession
(cfg DatabaseConfig)
chargeback-api/internal/config/cassandra.go:9
FunctionNewCassandraSession
(cfg DatabaseConfig)
chargeback-processor/internal/config/cassandra.go:9
FunctionNewChargeback
(userID, transactionID, reason string)
chargeback-api/internal/domain/models/chargeback.go:17
FunctionNewChargeback
(userID, transactionID, reason string)
chargeback-processor/internal/domain/models/chargeback.go:17
FunctionNewChargebackBatchEvent
NewChargebackOpenedEvent cria um novo ChargebackOpenedEvent
chargeback-processor/internal/interfaces/events/chargeback-batch-events.go:19
FunctionNewChargebackBatchEventHandler
(chargebackBatchEventUseCase *usecases.ChargebackBatchEventUseCase)
chargeback-batch/internal/interfaces/events/handlers/chargeback-batch-event-handler.go:14
FunctionNewChargebackBatchEventUseCase
(batchFilesRepository repositories.BatchFilesRepository)
chargeback-batch/internal/usecases/chargeback-batch-event-usecase.go:15
FunctionNewChargebackOpenedEvent
NewChargebackOpenedEvent cria um novo ChargebackOpenedEvent a partir de um Chargeback model
chargeback-api/internal/interfaces/events/chargeback-events.go:21
FunctionNewChargebackOpenedEventHandler
(chargebackOpenedEventUseCase *usecases.ChargebackOpenedEventUseCase)
chargeback-processor/internal/interfaces/events/handlers/chargeback-opened-event-handler.go:14
FunctionNewChargebackOpenedEventUseCase
(chargebackRepositoryCassandra *cassandra.ChargebackRepositoryCassandra, chargebackWriter *filewriter.Chargeba
chargeback-processor/internal/usecases/chargeback-opened-event-usecase.go:17
FunctionNewChargebackOpenedHandler
(chargebackOpenedUseCase *usecases.ChargebackOpenedUseCase)
chargeback-api/internal/interfaces/http/handlers/chargeback-opened-handler.go:19
FunctionNewChargebackOpenedUseCase
(repository *cassandra.ChargebackRepositoryCassandra, producer *producers.Producer)
chargeback-api/internal/usecases/chargeback-opened-usecase.go:19
FunctionNewChargebackRepositoryCassandra
(session *gocql.Session)
chargeback-api/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:12
FunctionNewChargebackRepositoryCassandra
(session *gocql.Session)
chargeback-processor/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:13
FunctionNewChargebackUploader
(endpoint, accessKey, secretKey, bucketName string, useSSL bool)
chargeback-processor/internal/infrastructure/objectstorage/minio/chargeback-uploader.go:18
FunctionNewChargebackWriter
(directory string, maxRecords int, maxDuration time.Duration, uploader objectstorage.Uploader, producer *produ
chargeback-processor/internal/infrastructure/filewriter/chargeback-writer.go:30
FunctionNewConsumers
(conn *amqp.Connection, eventHandlers *handlers.EventHandlers)
chargeback-processor/internal/infrastructure/rabbitmq/consumers/consumers.go:25
FunctionNewConsumers
(conn *amqp.Connection, eventHandlers *handlers.EventHandlers)
chargeback-batch/internal/infrastructure/rabbitmq/consumers/consumers.go:25
FunctionNewEventHandlers
(handler *ChargebackOpenedEventHandler)
chargeback-processor/internal/interfaces/events/handlers/handlers.go:7
FunctionNewEventHandlers
(handler *ChargebackBatchEventHandler)
chargeback-batch/internal/interfaces/events/handlers/handlers.go:7
FunctionNewFTPClient
(host string, port int, username, password string)
chargeback-batch/internal/infrastructure/transfer/ftp/ftp-client.go:14
FunctionNewHandlers
NewHandlers struct
chargeback-api/internal/interfaces/http/handlers/handlers.go:9
FunctionNewProducers
(conn *amqp.Connection)
chargeback-api/internal/infrastructure/rabbitmq/producers/producers.go:19
FunctionNewProducers
(conn *amqp.Connection)
chargeback-processor/internal/infrastructure/rabbitmq/producers/producers.go:19
FunctionNewRelicMiddleware
(newRelicApp *newrelic.Application)
chargeback-api/internal/infrastructure/middlewares/newrelic-middleware.go:12
FunctionNewRelicMiddleware
(newRelicApp *newrelic.Application)
chargeback-processor/internal/infrastructure/middlewares/newrelic-middleware.go:12
FunctionNewServer
(application *application.Application, handlers *handlers.Handlers)
chargeback-api/internal/interfaces/http/server.go:22
FunctionNewUseCases
NewUseCases struct
chargeback-api/internal/usecases/usecases.go:9
FunctionNewUseCases
NewUseCases struct
chargeback-processor/internal/usecases/usecases.go:9
FunctionNewUseCases
NewUseCases struct
chargeback-batch/internal/usecases/usecases.go:9
FunctionPanic
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:54
FunctionPanic
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:54
FunctionPanic
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:54
FunctionPanicf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:78
FunctionPanicf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:78
FunctionPanicf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:78
FunctionPanicln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:102
FunctionPanicln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:102
FunctionPanicln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:102
FunctionSetFields
(fields logrus.Fields)
chargeback-api/internal/infrastructure/logging/logging.go:30
FunctionSetFields
(fields logrus.Fields)
chargeback-processor/internal/infrastructure/logging/logging.go:30
FunctionSetFields
(fields logrus.Fields)
chargeback-batch/internal/infrastructure/logging/logging.go:30
FunctionSetupRoutes
SetupRoutes configure routes and middlewares
chargeback-api/internal/interfaces/http/routes/routes.go:32
FunctionStartScheduler
(repo repositories.BatchFilesRepository, downloader objectstorage.Downloader, ftpClient ftp.Client, schedulerC
chargeback-batch/internal/scheduler/scheduler-batch-files.go:13
MethodUpload
(localPath, remotePath string)
chargeback-batch/internal/infrastructure/transfer/ftp/ftp-client.go:28
MethodUploadFile
(localPath string, objectName string)
chargeback-processor/internal/infrastructure/objectstorage/minio/chargeback-uploader.go:49
FunctionWarn
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:42
FunctionWarn
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:42
FunctionWarn
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:42
FunctionWarnf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:66
FunctionWarnf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:66
FunctionWarnf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:66
FunctionWarnln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:90
FunctionWarnln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:90
FunctionWarnln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:90
FunctiongetEnvAsInt
(name string, defaultVal int)
chargeback-api/internal/config/config.go:80
Functioninit
()
chargeback-api/docs/docs.go:129
Functionmain
()
chargeback-api/cmd/main.go:10
Functionmain
()
chargeback-processor/cmd/main.go:12
Functionmain
()
chargeback-batch/cmd/main.go:13
← previous101–194 of 194, ranked by callers