cfha/core/config.go

23 lines
318 B
Go
Raw Normal View History

2015-08-23 03:20:58 +00:00
package core
2015-08-21 17:27:26 +00:00
type Config struct {
Checks []CheckConfig
2015-08-21 17:27:26 +00:00
}
type CheckConfig struct {
Interval uint16
Target TargetConfig
Reactions []ReactionConfig
2015-08-21 17:27:26 +00:00
}
type TargetConfig struct {
Type string
Host string
Options map[string]string
}
type ReactionConfig struct {
Type string
Options map[string]string
2015-08-21 17:27:26 +00:00
}