Documentation ¶
Index ¶
- func Cleanup(logger log.Logger, agent upload.Agent, dl *downloadedFiles) error
- func CleanupEmptyFiles(logger log.Logger, agent upload.Agent, dl *downloadedFiles) error
- func CorrectionEmitter(cfg service.ODFICorrections, svc events.Emitter) *correctionProcessor
- func CreditReconciliationEmitter(cfg service.ODFIReconciliation, svc events.Emitter) *creditReconciliation
- func IncomingEmitter(cfg service.ODFIIncoming, recon service.ODFIReconciliation, svc events.Emitter) *incomingEmitter
- func PrenoteEmitter(cfg service.ODFIPrenotes, svc events.Emitter) *prenoteEmitter
- func ProcessFiles(logger log.Logger, dl *downloadedFiles, alerters alerting.Alerters, ...) error
- func ReturnEmitter(cfg service.ODFIReturns, svc events.Emitter) *returnEmitter
- type AuditSaver
- type Downloader
- type File
- type FileProcessor
- type MockProcessor
- type MockScheduler
- type PeriodicScheduler
- type Processors
- type Scheduler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupEmptyFiles ¶
CleanupEmptyFiles deletes empty ACH files if file is older than value in config
func CorrectionEmitter ¶
func CorrectionEmitter(cfg service.ODFICorrections, svc events.Emitter) *correctionProcessor
func CreditReconciliationEmitter ¶
func CreditReconciliationEmitter(cfg service.ODFIReconciliation, svc events.Emitter) *creditReconciliation
func IncomingEmitter ¶ added in v0.16.0
func IncomingEmitter(cfg service.ODFIIncoming, recon service.ODFIReconciliation, svc events.Emitter) *incomingEmitter
func PrenoteEmitter ¶
func PrenoteEmitter(cfg service.ODFIPrenotes, svc events.Emitter) *prenoteEmitter
func ProcessFiles ¶
func ProcessFiles(logger log.Logger, dl *downloadedFiles, alerters alerting.Alerters, auditSaver *AuditSaver, validation ach.ValidateOpts, fileProcessors Processors, agent upload.Agent) error
func ReturnEmitter ¶
func ReturnEmitter(cfg service.ODFIReturns, svc events.Emitter) *returnEmitter
Types ¶
type AuditSaver ¶ added in v0.8.0
type AuditSaver struct {
// contains filtered or unexported fields
}
type Downloader ¶
func NewDownloader ¶
func NewDownloader(logger log.Logger, cfg service.ODFIStorage) (Downloader, error)
type FileProcessor ¶
type MockProcessor ¶
func (*MockProcessor) Type ¶
func (pc *MockProcessor) Type() string
type MockScheduler ¶
type MockScheduler struct {
Err error
}
func (*MockScheduler) RegisterRoutes ¶
func (*MockScheduler) RegisterRoutes(_ *admin.Server)
func (*MockScheduler) Shutdown ¶
func (*MockScheduler) Shutdown()
func (*MockScheduler) Start ¶
func (s *MockScheduler) Start() error
type PeriodicScheduler ¶
type PeriodicScheduler struct {
// contains filtered or unexported fields
}
func (*PeriodicScheduler) RegisterRoutes ¶
func (s *PeriodicScheduler) RegisterRoutes(svc *admin.Server)
func (*PeriodicScheduler) Shutdown ¶
func (s *PeriodicScheduler) Shutdown()
func (*PeriodicScheduler) Start ¶
func (s *PeriodicScheduler) Start() error
type Processors ¶
type Processors []FileProcessor
func SetupProcessors ¶
func SetupProcessors(pcs ...FileProcessor) Processors
Click to show internal directories.
Click to hide internal directories.