watch

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

Watcher periodically queries GitHub for the package changes

func NewWatcher

func NewWatcher(cfg *viper.Viper, storage *db.DB, gh *github.Client) (*Watcher, error)

NewWatcher creates new Github release watcher

func (*Watcher) Launch

func (w *Watcher) Launch(ctx context.Context)

Launch starts the watcher

Jump to

Keyboard shortcuts

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