Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCmdSend

func DefaultCmdSend(addr string, cmd int32)

func StringOpCmdSend

func StringOpCmdSend(addr string, cmd int32, reqs string)

Types

type CmdClient

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

func NewCmdClient

func NewCmdClient(addr string) *CmdClient

func (*CmdClient) Close

func (cc *CmdClient) Close()

func (*CmdClient) DialToCmdServer

func (cc *CmdClient) DialToCmdServer() *CmdConnection

func (*CmdClient) GetRpcClientConn

func (cc *CmdClient) GetRpcClientConn() *grpc.ClientConn

func (*CmdClient) GetRpcCnxt

func (cc *CmdClient) GetRpcCnxt() *context.Context

type CmdConnection

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