Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andersonmarquesgit/chargeback
/ functions
Functions
194 in github.com/andersonmarquesgit/chargeback
⨍
Functions
194
◇
Types & classes
79
Method
GetBatchFilesOfDay
(batchMaxFiles int)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:20
Method
GetBucketName
()
chargeback-processor/internal/infrastructure/objectstorage/minio/chargeback-uploader.go:73
Method
GetChargeback
(userID, transactionID string)
chargeback-api/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:18
Method
HandleChargebackOpenedEvent
(msg amqp.Delivery)
chargeback-processor/internal/interfaces/events/handlers/chargeback-opened-event-handler.go:20
Method
HandleChargebackOpenedEvent
(msg amqp.Delivery)
chargeback-batch/internal/interfaces/events/handlers/chargeback-batch-event-handler.go:20
Function
Info
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:34
Function
Info
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:34
Function
Info
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:34
Function
Infof
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:58
Function
Infof
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:58
Function
Infof
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:58
Function
Infoln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:82
Function
Infoln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:82
Function
Infoln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:82
Function
InitializeLogger
InitializeLogger configura o logger para usar o New Relic e o logrus
chargeback-api/internal/infrastructure/logging/logging.go:17
Function
InitializeLogger
InitializeLogger configura o logger para usar o New Relic e o logrus
chargeback-processor/internal/infrastructure/logging/logging.go:17
Function
InitializeLogger
InitializeLogger configura o logger para usar o New Relic e o logrus
chargeback-batch/internal/infrastructure/logging/logging.go:17
Method
InsertBatchFile
(file *models.BatchFile)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:63
Method
Levels
()
chargeback-api/internal/infrastructure/logging/logging-hooks.go:13
Method
Levels
()
chargeback-api/internal/infrastructure/logging/logging-hooks.go:29
Method
Levels
()
chargeback-processor/internal/infrastructure/logging/logging-hooks.go:13
Method
Levels
()
chargeback-processor/internal/infrastructure/logging/logging-hooks.go:29
Method
Levels
()
chargeback-batch/internal/infrastructure/logging/logging-hooks.go:13
Method
Levels
()
chargeback-batch/internal/infrastructure/logging/logging-hooks.go:29
Function
LoadConfig
()
chargeback-api/internal/config/config.go:41
Function
LoadConfig
()
chargeback-processor/internal/config/config.go:58
Function
LoadConfig
()
chargeback-batch/internal/config/config.go:65
Method
MarkAsFailed
(fileID string)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:110
Method
MarkAsSent
(fileID string)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:95
Function
NewApplication
(cfg *config.Config)
chargeback-api/internal/application/application.go:27
Function
NewApplication
(cfg *config.Config)
chargeback-processor/internal/application/application.go:31
Function
NewApplication
(cfg *config.Config)
chargeback-batch/internal/application/application.go:34
Function
NewBatchFileDownloader
(endpoint, accessKey, secretKey, bucketName string, useSSL bool)
chargeback-batch/internal/infrastructure/objectstorage/minio/batch-file-downloader.go:19
Function
NewBatchFilesRepositoryPostgres
(db *sql.DB)
chargeback-batch/internal/infrastructure/repositories/postgres/batch-files-repo-postgres.go:14
Function
NewCassandraSession
(cfg DatabaseConfig)
chargeback-api/internal/config/cassandra.go:9
Function
NewCassandraSession
(cfg DatabaseConfig)
chargeback-processor/internal/config/cassandra.go:9
Function
NewChargeback
(userID, transactionID, reason string)
chargeback-api/internal/domain/models/chargeback.go:17
Function
NewChargeback
(userID, transactionID, reason string)
chargeback-processor/internal/domain/models/chargeback.go:17
Function
NewChargebackBatchEvent
NewChargebackOpenedEvent cria um novo ChargebackOpenedEvent
chargeback-processor/internal/interfaces/events/chargeback-batch-events.go:19
Function
NewChargebackBatchEventHandler
(chargebackBatchEventUseCase *usecases.ChargebackBatchEventUseCase)
chargeback-batch/internal/interfaces/events/handlers/chargeback-batch-event-handler.go:14
Function
NewChargebackBatchEventUseCase
(batchFilesRepository repositories.BatchFilesRepository)
chargeback-batch/internal/usecases/chargeback-batch-event-usecase.go:15
Function
NewChargebackOpenedEvent
NewChargebackOpenedEvent cria um novo ChargebackOpenedEvent a partir de um Chargeback model
chargeback-api/internal/interfaces/events/chargeback-events.go:21
Function
NewChargebackOpenedEventHandler
(chargebackOpenedEventUseCase *usecases.ChargebackOpenedEventUseCase)
chargeback-processor/internal/interfaces/events/handlers/chargeback-opened-event-handler.go:14
Function
NewChargebackOpenedEventUseCase
(chargebackRepositoryCassandra *cassandra.ChargebackRepositoryCassandra, chargebackWriter *filewriter.Chargeba
chargeback-processor/internal/usecases/chargeback-opened-event-usecase.go:17
Function
NewChargebackOpenedHandler
(chargebackOpenedUseCase *usecases.ChargebackOpenedUseCase)
chargeback-api/internal/interfaces/http/handlers/chargeback-opened-handler.go:19
Function
NewChargebackOpenedUseCase
(repository *cassandra.ChargebackRepositoryCassandra, producer *producers.Producer)
chargeback-api/internal/usecases/chargeback-opened-usecase.go:19
Function
NewChargebackRepositoryCassandra
(session *gocql.Session)
chargeback-api/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:12
Function
NewChargebackRepositoryCassandra
(session *gocql.Session)
chargeback-processor/internal/infrastructure/repositories/cassandra/chargeback-repo-cassandra.go:13
Function
NewChargebackUploader
(endpoint, accessKey, secretKey, bucketName string, useSSL bool)
chargeback-processor/internal/infrastructure/objectstorage/minio/chargeback-uploader.go:18
Function
NewChargebackWriter
(directory string, maxRecords int, maxDuration time.Duration, uploader objectstorage.Uploader, producer *produ
chargeback-processor/internal/infrastructure/filewriter/chargeback-writer.go:30
Function
NewConsumers
(conn *amqp.Connection, eventHandlers *handlers.EventHandlers)
chargeback-processor/internal/infrastructure/rabbitmq/consumers/consumers.go:25
Function
NewConsumers
(conn *amqp.Connection, eventHandlers *handlers.EventHandlers)
chargeback-batch/internal/infrastructure/rabbitmq/consumers/consumers.go:25
Function
NewEventHandlers
(handler *ChargebackOpenedEventHandler)
chargeback-processor/internal/interfaces/events/handlers/handlers.go:7
Function
NewEventHandlers
(handler *ChargebackBatchEventHandler)
chargeback-batch/internal/interfaces/events/handlers/handlers.go:7
Function
NewFTPClient
(host string, port int, username, password string)
chargeback-batch/internal/infrastructure/transfer/ftp/ftp-client.go:14
Function
NewHandlers
NewHandlers struct
chargeback-api/internal/interfaces/http/handlers/handlers.go:9
Function
NewProducers
(conn *amqp.Connection)
chargeback-api/internal/infrastructure/rabbitmq/producers/producers.go:19
Function
NewProducers
(conn *amqp.Connection)
chargeback-processor/internal/infrastructure/rabbitmq/producers/producers.go:19
Function
NewRelicMiddleware
(newRelicApp *newrelic.Application)
chargeback-api/internal/infrastructure/middlewares/newrelic-middleware.go:12
Function
NewRelicMiddleware
(newRelicApp *newrelic.Application)
chargeback-processor/internal/infrastructure/middlewares/newrelic-middleware.go:12
Function
NewServer
(application *application.Application, handlers *handlers.Handlers)
chargeback-api/internal/interfaces/http/server.go:22
Function
NewUseCases
NewUseCases struct
chargeback-api/internal/usecases/usecases.go:9
Function
NewUseCases
NewUseCases struct
chargeback-processor/internal/usecases/usecases.go:9
Function
NewUseCases
NewUseCases struct
chargeback-batch/internal/usecases/usecases.go:9
Function
Panic
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:54
Function
Panic
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:54
Function
Panic
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:54
Function
Panicf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:78
Function
Panicf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:78
Function
Panicf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:78
Function
Panicln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:102
Function
Panicln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:102
Function
Panicln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:102
Function
SetFields
(fields logrus.Fields)
chargeback-api/internal/infrastructure/logging/logging.go:30
Function
SetFields
(fields logrus.Fields)
chargeback-processor/internal/infrastructure/logging/logging.go:30
Function
SetFields
(fields logrus.Fields)
chargeback-batch/internal/infrastructure/logging/logging.go:30
Function
SetupRoutes
SetupRoutes configure routes and middlewares
chargeback-api/internal/interfaces/http/routes/routes.go:32
Function
StartScheduler
(repo repositories.BatchFilesRepository, downloader objectstorage.Downloader, ftpClient ftp.Client, schedulerC
chargeback-batch/internal/scheduler/scheduler-batch-files.go:13
Method
Upload
(localPath, remotePath string)
chargeback-batch/internal/infrastructure/transfer/ftp/ftp-client.go:28
Method
UploadFile
(localPath string, objectName string)
chargeback-processor/internal/infrastructure/objectstorage/minio/chargeback-uploader.go:49
Function
Warn
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:42
Function
Warn
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:42
Function
Warn
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:42
Function
Warnf
(format string, args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:66
Function
Warnf
(format string, args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:66
Function
Warnf
(format string, args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:66
Function
Warnln
(args ...interface{})
chargeback-api/internal/infrastructure/logging/logging.go:90
Function
Warnln
(args ...interface{})
chargeback-processor/internal/infrastructure/logging/logging.go:90
Function
Warnln
(args ...interface{})
chargeback-batch/internal/infrastructure/logging/logging.go:90
Function
getEnvAsInt
(name string, defaultVal int)
chargeback-api/internal/config/config.go:80
Function
init
()
chargeback-api/docs/docs.go:129
Function
main
()
chargeback-api/cmd/main.go:10
Function
main
()
chargeback-processor/cmd/main.go:12
Function
main
()
chargeback-batch/cmd/main.go:13
← previous
101–194 of 194, ranked by callers