mocks

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Counter int
View Source
var Request interface{}
View Source
var Result bool

Functions

This section is empty.

Types

type WorkerClient

type WorkerClient struct{}

func (WorkerClient) Connect

func (WorkerClient) Connect(workerIP string) (*grpc.ClientConn, rpc.WorkerClient)

func (WorkerClient) End

func (WorkerClient) End(workerIP string) bool

func (WorkerClient) Health

func (WorkerClient) Health(workerIP string) int

func (WorkerClient) Map

func (WorkerClient) Map(workerIP string, m *rpc.MapInfo) bool

func (WorkerClient) Reduce

func (WorkerClient) Reduce(workerIP string, m *rpc.ReduceInfo) bool

Jump to

Keyboard shortcuts

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