client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

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

func NewGRPCClient

func NewGRPCClient(address string, maxCallSendMsgSize int, maxCallRecvMsgSize int) (*GRPCClient, error)

func (*GRPCClient) Bulk

func (*GRPCClient) Close

func (c *GRPCClient) Close() error

func (*GRPCClient) Delete

func (*GRPCClient) Get

func (*GRPCClient) Join

func (*GRPCClient) Leave

func (*GRPCClient) Peers

func (c *GRPCClient) Peers(opts ...grpc.CallOption) (*protobuf.PeersResponse, error)

func (*GRPCClient) Put

func (*GRPCClient) Search

func (*GRPCClient) Snapshot

func (c *GRPCClient) Snapshot(opts ...grpc.CallOption) (*protobuf.SnapshotResponse, error)

Jump to

Keyboard shortcuts

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