client

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 7 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 struct

func NewSyncClient

func NewSyncClient(addr string, tlsConf *tls.Config) (cli *Client)

NewSyncClient Get the client from the client caches with addr

func (*Client) Pull

func (c *Client) Pull(ctx context.Context) (*pb.SyncData, error)

Pull implement the interface of sync server

Jump to

Keyboard shortcuts

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