Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { PrestopDuration time.Duration MySQLServer extconfig.MySQLAddress RedisServer extconfig.RedisAddress MongoServer extconfig.MongoAddress ExecutorService taskmodel.ExecutorInvoker CollectorService taskmodel.CollectorInvoker ExecutorHandlerRegister taskmodel.RegisterExecutorRequestHandler CollectorHandlerRegister taskmodel.RegisterCollectorRequestHandler }
服务配置
type ServiceRole ¶
type ServiceRole uint32
服务角色,指定不同的服务类型
const ( ServiceRole_Manager ServiceRole = 1 ServiceRole_Generator ServiceRole = 2 ServiceRole_Scheduler ServiceRole = 3 ServiceRole_Executor ServiceRole = 4 ServiceRole_Collector ServiceRole = 5 )
Click to show internal directories.
Click to hide internal directories.