watcher

package
v0.0.0-...-0452748 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2017 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
}

Options contains the parameters necessary to configure a concrete Watcher implementation

type Watcher

type Watcher interface {
	CheckForUpdate(opts model.WatchOptions, since time.Time) (model.Update, error)
}

Watcher is the interface required by Sauron to detect changes.

func New

func New(opts Options) Watcher

New returns a new concrete Watcher implementation. For now, only Github is supported, it requires no special configuration and is the default

func NewGithub

func NewGithub() Watcher

NewGithub instantiates a new watcher for public GitHub repositories.

Jump to

Keyboard shortcuts

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