Documentation ¶
Index ¶
Constants ¶
View Source
const POLL_INTERVAL = 5 * time.Second
Variables ¶
This section is empty.
Functions ¶
func NewFileWatcher ¶
func NewFileWatcher( logger *log.Logger, sourceDir string, dynamicGroupClient grouper.DynamicClient, drainerFactory syslog.DrainerFactory, ) *fileWatcher
Types ¶
type Config ¶
type Config struct { Hostname string `yaml:"hostname"` Syslog SyslogConfig `yaml:"syslog"` }
func LoadConfig ¶
type Duration ¶
func (*Duration) UnmarshalYAML ¶
type SyslogConfig ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
syslogfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.