Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type H2H ¶
type H2H struct { Dao repository.H2HPersister Cacher storage.Cacher Logger *zap.Logger }
func (*H2H) CachePricelists ¶
func (h *H2H) CachePricelists() *model.TechnicalError
func (*H2H) CacheProviders ¶
func (h *H2H) CacheProviders() *model.TechnicalError
type H2HManager ¶
type H2HManager interface { CacheProviders() *model.TechnicalError CachePricelists() *model.TechnicalError }
func NewH2H ¶
func NewH2H(h2h H2H) H2HManager
type ParamManager ¶
type ParamManager interface { CacheWallets() *model.TechnicalError CacheEmailTemplates() *model.TechnicalError CacheEmailSubjects() *model.TechnicalError }
func NewParameter ¶
func NewParameter(p Parameter) ParamManager
type Parameter ¶
type Parameter struct { Dao repository.ParamPersister Cacher storage.Cacher Logger *zap.Logger }
func (*Parameter) CacheEmailSubjects ¶
func (p *Parameter) CacheEmailSubjects() *model.TechnicalError
func (*Parameter) CacheEmailTemplates ¶
func (p *Parameter) CacheEmailTemplates() *model.TechnicalError
func (*Parameter) CacheWallets ¶
func (p *Parameter) CacheWallets() *model.TechnicalError
type Partner ¶
type Partner struct { Dao repository.PartnerPersister CiamWatcher adaptor.CiamWatcher S3Watcher adaptor.S3Watcher PathS3 *string Logger *zap.Logger }
func (*Partner) Add ¶
func (p *Partner) Add(inp *model.AddPartnerRequest) (*model.TransactionResponse, *model.BusinessError)
type PartnerManager ¶
type PartnerManager interface {
Add(inp *model.AddPartnerRequest) (*model.TransactionResponse, *model.BusinessError)
}
func NewPartner ¶
func NewPartner(p Partner) PartnerManager
type Workflow ¶
type Workflow struct { Dao repository.WorkflowPersister storage.Cacher Logger *zap.Logger }
func (*Workflow) CacheRewardTiers ¶
func (w *Workflow) CacheRewardTiers() *model.TechnicalError
type WorkflowManager ¶
type WorkflowManager interface {
CacheRewardTiers() *model.TechnicalError
}
func NewWorkflow ¶
func NewWorkflow(w Workflow) WorkflowManager
Click to show internal directories.
Click to hide internal directories.