Documentation ¶
Overview ¶
Package config is responsible for providing configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Modes []string `toml:"modes"` Expression string `toml:"expression"` ScriptFile string `toml:"scriptfile"` ScriptDir string `toml:"scriptdir"` BufferSize int `toml:"buffersize"` Graphite *Graphite `toml:"graphite"` UDP *UDP `toml:"udp"` TCP *TCP `toml:"tcp"` Logging *Logging `toml:"logging"` }
Configuration represents the application's configuration
type Graphite ¶
type Graphite struct { Host string `toml:"host"` Port int `toml:"port"` Interval int `toml:"interval"` Debug bool `toml:"debug"` }
Graphite configuration
Click to show internal directories.
Click to hide internal directories.