conf

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProbeNames

func GetProbeNames(pms []modules.Prober) []string

func SetupConfig

func SetupConfig(config []byte) ([]modules.Prober, error)

Types

type Probes

type Probes struct {
	ProbeType   string          `json:"probe_type"`
	ProbeConfig json.RawMessage `json:"probe_config"` // Here we branch to the respective probe type config.
}

Jump to

Keyboard shortcuts

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