handler

package
v0.0.0-...-19537a5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCHandler

type RPCHandler struct {
	UserNum uint32
	pb.UnimplementedMovingBricksServer
}

func (RPCHandler) List

func (R RPCHandler) List(ctx context.Context, request *pb.ListRequest) (*pb.ListResponse, error)

func (*RPCHandler) Ping

func (h *RPCHandler) Ping(ctx context.Context, req *pb.PingRequest) (*pb.PingResponse, error)

func (RPCHandler) Transfer

func (R RPCHandler) Transfer(stream pb.MovingBricks_TransferServer) error

type TaskHandler

type TaskHandler struct {
	// contains filtered or unexported fields
}

func (TaskHandler) Run

func (h TaskHandler) Run()

Jump to

Keyboard shortcuts

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