Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(params ServiceParams) daemon.DaemonResult
Types ¶
type DiscountDaemon ¶
type DiscountDaemon struct { Mail mail.Helper UserService service.UserService GameService service.GameService DiscountService service.DiscountService GameDiscountService service.GameDiscountService GameRevisionPriceService service.GameRevisionPriceService GameRevisionService service.GameRevisionService Transactor *transactor.Transactor // contains filtered or unexported fields }
func (*DiscountDaemon) Errors ¶
func (d *DiscountDaemon) Errors() <-chan error
func (*DiscountDaemon) Messages ¶
func (d *DiscountDaemon) Messages() <-chan daemon.Message
func (*DiscountDaemon) Name ¶
func (d *DiscountDaemon) Name() string
func (*DiscountDaemon) Start ¶
func (d *DiscountDaemon) Start(c *cron.Cron)
func (*DiscountDaemon) Stop ¶
func (d *DiscountDaemon) Stop()
type ServiceParams ¶
type ServiceParams struct { fx.In Cfg *config.Config Mail mail.Helper UserService service.UserService GameService service.GameService DiscountService service.DiscountService GameDiscountService service.GameDiscountService GameRevisionPriceService service.GameRevisionPriceService GameRevisionService service.GameRevisionService Transactor *transactor.Transactor }
Click to show internal directories.
Click to hide internal directories.