Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultConfig = `` /* 277-byte string literal not displayed */
)
Functions ¶
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"`
}
func LoadConfig ¶
func LoadConfigFromBytes ¶
func (*Config) ResolveOpts ¶
Click to show internal directories.
Click to hide internal directories.