package
Version:
v0.0.0-...-bd03ed3
Opens a new window with list of versions in this module.
Published: May 7, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package control implements control handlers for collect-statse(8)
Handle installs the HTTP handler.
Update decodes the collect-statse(8) parts of the config.
type AggregatorConfig struct {
SnapshotInterval string `json:",omitempty"`
}
type ForwarderConfig struct {
AggregatorHost string `json:",omitempty"`
Filter []*Rule `json:",omitempty"`
}
type HostConfig struct {
XMLName xml.Name `xml:"statse"`
Aggregator bool `xml:"aggregator,attr"`
Interval string `xml:"interval,attr"`
}
type Key struct {
Program, Host string
}
type Rule struct {
Match []string `json:",omitempty"`
Set []string `json:",omitempty"`
Block bool `json:",omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.