cmdclient

package
v0.0.0-...-97b5c88 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-2.0, Apache-2.0 Imports: 8 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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