Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { Protocol string `json:"-"` Host string `valid:"host" json:"-"` Port string `valid:"port" json:"-"` Severity string `json:"-"` Facility string `json:"-"` Tag string `json:"-"` Verbose bool `json:"-"` Enabled bool `toml:"-" json:"-"` }
Conf is syslog config
func (*Conf) GetFacility ¶
GetFacility gets facility
func (*Conf) GetSeverity ¶
GetSeverity gets severity
Click to show internal directories.
Click to hide internal directories.