sync

package
v0.0.0-...-b52fdba Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PollInterval = time.Second * 60

PollInterval is the time in between looking for new versions

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	C <-chan struct{}
	// contains filtered or unexported fields
}

A Watcher watches for changes

func Watch

func Watch(loc storage.Location) (*Watcher, error)

Watch looks for changes at the given location

func (*Watcher) Stop

func (w *Watcher) Stop()

Stop stops the watcher

Jump to

Keyboard shortcuts

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