syncclient

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 8 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
}

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