Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string = "v0.0.1"
Functions ¶
This section is empty.
Types ¶
type CoreOptions ¶
type CoreOptions struct { Mode string `yaml:"mode"` Log LogOptions `yaml:"log"` }
type LabelHeaderOptions ¶
type LogOptions ¶
type Options ¶
type Options struct { Core CoreOptions `yaml:"core"` Web WebOptions `yaml:"web"` Scrape ScrapeOptions `yaml:"scrape"` }
func NewOptions ¶
func NewOptions() (opts Options)
type ScrapeOptions ¶
type ScrapeOptions struct { Interval int `yaml:"interval"` Type string `yaml:"type"` Address string `yaml:"address"` LabelHeader LabelHeaderOptions `yaml:"label_header"` }
type WebOptions ¶
Click to show internal directories.
Click to hide internal directories.