Documentation ¶
Index ¶
Constants ¶
View Source
const (
TaskClientServer = "TaskClient"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskClient ¶
type TaskClient struct { }
func NewTaskClient ¶
func NewTaskClient() *TaskClient
func (TaskClient) CancelExec ¶
func (i TaskClient) CancelExec(ctx kratosx.Context, req *types.CancelExecRequest) error
func (TaskClient) CheckHealthy ¶
func (i TaskClient) CheckHealthy(ctx kratosx.Context, req *types.CheckWorkerRequest) error
func (TaskClient) ExecTask ¶
func (i TaskClient) ExecTask(ctx kratosx.Context, req *types.ExecTaskRequest, recv func(msg *types.ExecTaskLog)) error
Click to show internal directories.
Click to hide internal directories.