rpc

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Register *discovery.Resolver

	CancelFunc context.CancelFunc

	MapReduceClient mapreduce.MapReduceServiceClient
)

Functions

func Init

func Init()

func MasterAssignTask

func MasterAssignTask(ctx context.Context, taskReq *mapreduce.MapReduceTask) (resp *mapreduce.MapReduceTask, err error)

MasterAssignTask 通过 master 发送任务

func MasterTaskCompleted

func MasterTaskCompleted(ctx context.Context, task *mapreduce.MapReduceTask) (resp *mapreduce.MasterTaskCompletedResp, err error)

MasterTaskCompleted 通知 master 任务完成的RPC调用

Types

This section is empty.

Jump to

Keyboard shortcuts

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