Documentation ¶
Index ¶
Constants ¶
View Source
const ( CompiledRuleFileName = "compiled" TempDirName = "tmp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `mapstructure:"log_level"` EnableJSONLog bool `mapstructure:"enable_json_log"` RuleSources []RuleSource `mapstructure:"rule_sources"` YaracPath string `mapstructure:"yarac_path"` RuleUpdateSchedule string `mapstructure:"rule_update_schedule"` ServerAddress string `mapstructure:"server_address"` HealthCheckAddressAddress string `mapstructure:"health_check_address"` CacheDir string `mapstructure:"cache_dir"` }
func LoadConfig ¶
type RuleSource ¶
Click to show internal directories.
Click to hide internal directories.