config

package
v6.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{}

Functions

This section is empty.

Types

type Config

type Config struct {
	// Modules is a list of module specific configuration data.
	Monitors  []*common.Config `config:"monitors"         validate:"required"`
	Scheduler Scheduler        `config:"scheduler"`
}

type Scheduler

type Scheduler struct {
	Limit    uint   `config:"limit"  validate:"min=0"`
	Location string `config:"location"`
}

Jump to

Keyboard shortcuts

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