syncclient

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 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

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