config

package
v2.0.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period: 1 * time.Second,
	URLs:   []string{"http://127.0.0.1/status?json"},
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period time.Duration `config:"period"`
	URLs   []string      `config:"urls" validate:"nonzero,required"`
}

Jump to

Keyboard shortcuts

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