Documentation ¶
Index ¶
Constants ¶
View Source
const ( HANDLE_COCE_SUCCESS = 200 HANDLE_COCE_FAIL = 500 HANDLE_COCE_TIMEOUT = 502 )
View Source
const ( SUCCESS_CODE = 200 FAIL_CODE = 500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleCallbackParam ¶
type HandleCallbackParam struct { LogId int64 `json:"logId"` LogDateTim int64 `json:"logDateTim"` HandleCode int32 `json:"handleCode"` HandleMsg string `json:"handleMsg"` }
执行器回传给调度器数据,主要是运行结果
func (HandleCallbackParam) String ¶
func (t HandleCallbackParam) String() string
type IdleBeatParam ¶
type IdleBeatParam struct {
JobId int32 `json:"jobId"`
}
func (IdleBeatParam) String ¶
func (t IdleBeatParam) String() string
type LogParam ¶
type LogResult ¶
type RegistryParam ¶
type RegistryParam struct { RegistryGroup string `json:"registryGroup"` RegistryKey string `json:"registryKey"` RegistryValue string `json:"registryValue"` }
func (RegistryParam) String ¶
func (t RegistryParam) String() string
type ReturnT ¶
type ReturnT struct { Code int32 `json:"code"` Msg string `json:"msg"` Content interface{} `json:"content"` }
func NewReturnT ¶
type TriggerParam ¶
type TriggerParam struct { JobId int32 `json:"jobId"` ExecutorHandler string `json:"executorHandler"` ExecutorParams string `json:"executorParams"` ExecutorBlockStrategy string `json:"executorBlockStrategy"` ExecutorTimeout int `json:"executorTimeout"` //秒 LogId int64 `json:"logId"` LogDateTime int64 `json:"logDateTime"` GlueType string `json:"glueType"` GlueSource string `json:"glueSource"` GlueUpdatetime int64 `json:"glueUpdatetime"` BroadcastIndex int32 `json:"broadcastIndex"` BroadcastTotal int32 `json:"broadcastTotal"` }
func (TriggerParam) String ¶
func (t TriggerParam) String() string
Click to show internal directories.
Click to hide internal directories.