rpc

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 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