Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Antispammer ¶
type Antispammer struct {
// contains filtered or unexported fields
}
Antispammer makes a decision on the need to parse the input log. It can be useful when any application writes logs at speed faster than File.d can read it.
Anti-spammer supports exceptions for cases where you need to guarantee delivery of an important events.
func NewAntispammer ¶
func NewAntispammer(o *Options) *Antispammer
func (*Antispammer) Dump ¶
func (a *Antispammer) Dump() string
func (*Antispammer) Maintenance ¶
func (a *Antispammer) Maintenance()
type Exceptions ¶ added in v0.34.2
type Exceptions []Exception
func (Exceptions) Prepare ¶ added in v0.34.2
func (e Exceptions) Prepare()
Click to show internal directories.
Click to hide internal directories.