rpc

package
v0.0.0-...-9a2ebf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 13 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL