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 Scheduler *clients.TimedScheduler Store kv.Store SchedulerRun bool //只启动单例 TimedM timedmanage.TimedManage Queue *clients.NatsClient NodeID int64 }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.