logmania/lib/config.go

12 lines
389 B
Go
Raw Permalink Normal View History

2017-06-11 03:34:11 +02:00
package lib
2017-06-13 00:21:19 +02:00
// Struct of the configuration
2019-08-08 15:51:55 +02:00
// e.g. under dev.sum7.eu/sum7/logmania/logmania_example.conf
2017-06-11 03:34:11 +02:00
type Config struct {
Debug bool `toml:"debug"`
DB string `toml:"database"`
AlertCheck Duration `toml:"alert_check"`
Output map[string]interface{} `toml:"output"`
Input map[string]interface{} `toml:"input"`
2017-06-16 10:33:35 +02:00
}