client

package
v0.0.0-...-c7aefa9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCred

func CreateCred(certFile string, serverName string) (grpc.DialOption, error)

CreateCred create credential dial option

Types

type Client

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

Client cmds client

func InitClient

func InitClient(addr string, opts ...grpc.DialOption) (*Client, error)

InitClient initial client

func (*Client) Send

func (c *Client) Send(code int32, param string) error

Jump to

Keyboard shortcuts

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