runner

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Client               *http.Client
	PluginRepository     *plugin.MemRepo
	StorageRepository    *store.MemRepo
	CheckIntervalMinutes int
	// contains filtered or unexported fields
}

Runner runs scrapes

func NewRunner

func NewRunner(l log.Logger, pluginRepo *plugin.MemRepo, storageRepo *store.MemRepo, checkIntervalMinutes int) *Runner

NewRunner initializes a new runner to run plugins

func (*Runner) Start

func (r *Runner) Start()

Start schedules new scrapes and runs them

Jump to

Keyboard shortcuts

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