replication

package
v0.6.0-alpha.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentChangeset

func CurrentChangeset(url string) (int, error)

func CurrentDiff

func CurrentDiff(url string) (int, error)

func NewChangesetDownloader

func NewChangesetDownloader(dest, url string, seq int, interval time.Duration) *downloader

func NewDiffDownloader

func NewDiffDownloader(dest, url string, seq int, interval time.Duration) *downloader

func NewDiffReader

func NewDiffReader(dest string, seq int) *reader

Types

type NotAvailable

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

func (*NotAvailable) Error

func (e *NotAvailable) Error() string

type Sequence

type Sequence struct {
	Filename      string
	StateFilename string
	Time          time.Time
	Sequence      int
}

type Source

type Source interface {
	Sequences() <-chan Sequence
}

Jump to

Keyboard shortcuts

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