syncclient

package
v3.4.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options added in v0.4.1

type Options struct {
	ReadTimeout  time.Duration
	WriteTimeout time.Duration
	KeyFile      string
	CertFile     string
	CAFile       string
	ServerCN     string
	ServerURISAN string
	SyncerType   syncproto.SyncerType
}

type SyncerClient

type SyncerClient struct {
	ID uint64

	Finished sync.WaitGroup
	// contains filtered or unexported fields
}

func New

func New(
	addr string,
	myVersion, myHostname, myInfo string,
	cbs api.SyncerCallbacks,
	options *Options,
) *SyncerClient

func (*SyncerClient) Start

func (s *SyncerClient) Start(cxt context.Context) error

Jump to

Keyboard shortcuts

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