1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00
birdwatcher/bird/config.go

23 lines
489 B
Go
Raw Permalink Normal View History

2016-11-30 13:40:34 +01:00
package bird
// Birdwatcher Birdc Configuration
type StatusConfig struct {
ReconfigTimestampSource string `toml:"reconfig_timestamp_source"`
ReconfigTimestampMatch string `toml:"reconfig_timestamp_match"`
2016-12-02 17:11:57 +01:00
FilterFields []string `toml:"filter_fields"`
2016-11-30 13:40:34 +01:00
}
type BirdConfig struct {
Listen string
ConfigFilename string `toml:"config"`
BirdCmd string `toml:"birdc"`
}
2016-12-13 10:49:18 +01:00
type RateLimitConfig struct {
2017-01-02 16:22:08 +01:00
Reqs int
2016-12-13 10:49:18 +01:00
Max int `toml:"requests_per_minute"`
Enabled bool
}