Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoWorkerActionFunc ¶
func (DoWorkerActionFunc) YieldWorkerFunc ¶
func (f DoWorkerActionFunc) YieldWorkerFunc(di *dig.Container, op *JobParam) IWorker
type IWorkerMonitor ¶
type JobParam ¶
type JobParam struct { OpId string //op唯一标识 Action string Interval time.Duration //执行间隔 Statistical bool //是否启用统计 ExtendParams configstc.CommonExtendParams }
JobParam op操作参数
func (*JobParam) ExtendParamByBool ¶
ExtendParamByBool 返回extendParam指定k的bool类型值
func (*JobParam) ExtendParamByFloat ¶
ExtendParamByFloat 返回extendParam指定k的float类型值
func (*JobParam) ExtendParamByInt ¶
ExtendParamByInt 返回extendParam指定k的int类型值
Click to show internal directories.
Click to hide internal directories.