Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `mapstructure:"address,omitempty" json:"address,omitempty"` Port uint16 `mapstructure:"port,omitempty" json:"port,omitempty"` Community string `mapstructure:"community,omitempty" json:"community,omitempty"` StartDelay time.Duration `mapstructure:"start-delay,omitempty" json:"start-delay,omitempty"` Traps []*trap `mapstructure:"traps,omitempty" json:"traps,omitempty"` AddTarget string `mapstructure:"add-target,omitempty" json:"add-target,omitempty"` TargetTemplate string `mapstructure:"target-template,omitempty" json:"target-template,omitempty"` EnableMetrics bool `mapstructure:"enable-metrics,omitempty" json:"enable-metrics,omitempty"` EventProcessors []string `mapstructure:"event-processors,omitempty" json:"event-processors,omitempty"` }
Click to show internal directories.
Click to hide internal directories.