config

package
v5.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period:     1 * time.Second,
	Privileged: true,
	UseIPv4:    true,
	UseIPv6:    true,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period     time.Duration    `config:"period"`
	Privileged bool             `config:"privileged"`
	UseIPv4    bool             `config:"useipv4"`
	UseIPv6    bool             `config:"useipv6"`
	Targets    []*common.Config `config:"targets"`
}

Jump to

Keyboard shortcuts

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