client

package
v0.0.0-...-1a62c48 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client contain grpc conn

func NewClient

func NewClient(addr string, authConfig types.AuthConfig) *Client

NewClient new a client

func (*Client) GetConn

func (c *Client) GetConn() *grpc.ClientConn

GetConn return connection

func (*Client) GetRPCClient

func (c *Client) GetRPCClient() pb.CoreRPCClient

GetRPCClient return rpc client

Jump to

Keyboard shortcuts

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