Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config Cron *cron.Cron PcmCoreRpc pcmcore.PcmCore RedisClient *redis.Client }
type ServiceContext struct { Config config.Config }
func NewServiceContext(c config.Config) *ServiceContext { return &ServiceContext{ Config: c, } }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.