cmdclient

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCmdSend

func DefaultCmdSend(addr string, cmd int32)

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