Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
Types ¶
type Config ¶
type Config struct { PidPath string `toml:"pid-file"` LogPath string `toml:"log-file"` LogCycle duration `toml:"log-cycle-interval"` DbConnectString string `toml:"db-connect-string"` MaxCachedPoints int `toml:"max-cached-points"` MaxCache duration `toml:"max-cache-duration"` MinCache duration `toml:"min-cache-duration"` GraphiteTextListenSpec string `toml:"graphite-text-listen-spec"` GraphiteUdpListenSpec string `toml:"graphite-udp-listen-spec"` GraphitePickleListenSpec string `toml:"graphite-pickle-listen-spec"` StatsdTextListenSpec string `toml:"statsd-text-listen-spec"` StatsdUdpListenSpec string `toml:"statsd-udp-listen-spec"` HttpListenSpec string `toml:"http-listen-spec"` Workers int DSs []DSSpec `toml:"ds"` StatFlush duration `toml:"stat-flush-interval"` StatsNamePrefix string `toml:"stats-name-prefix"` }
var Cfg *Config
type RRASpec ¶
func (*RRASpec) UnmarshalText ¶
type ServiceManager ¶
type ServiceManager struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.