Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithWindow ¶ added in v0.1.17
func WriteDefaultConfig ¶
Types ¶
type Config ¶
type Config struct {
TimestampRegexes []Regex `yaml:"timestamps"`
Rules Rules `yaml:"rules"`
UpdateFrequency *time.Duration `yaml:"updateFrequency"`
RulesVersion string `yaml:"rulesVersion"`
AcceptUpdates bool `yaml:"acceptUpdates"`
DataSources string `yaml:"dataSources"`
Notification NotificationWebhook `yaml:"notification"`
Window time.Duration `yaml:"window"`
Skip int `yaml:"skip"`
}
func LoadConfigFromBytes ¶
func (*Config) ResolveOpts ¶
type NotificationWebhook ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.