background

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: BSD-3-Clause Imports: 11 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 {
	Frequency time.Duration
}

type Ranges

type Ranges = coordinates.RangeIDs

Range is an alias of coordinates.RangeIDs for brevity.

type RegistryAPI

type RegistryAPI interface {
	ModulesNeeded(Ranges) ([]coordinates.SerialModule, error)
}

RegistryAPI is used to issue API request from the registry

func NewRegistryAPI

func NewRegistryAPI(
	registryClient registry.Client,
	index store.Index,
) RegistryAPI

type Reloader

type Reloader interface {
	Start()
}

func NewReloader

func NewReloader(
	options Options,
	index store.Index,
	store store.ZipStore,
	resolver upstream.Resolver,
	registryRequester RegistryAPI,
	downloader zips.Client,
) Reloader

Jump to

Keyboard shortcuts

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