Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { // Collect starts collecting on collect chan until ctx.Done() chan gets a signal Collect(ctx context.Context, wg *sync.WaitGroup, collect chan<- *monitoring.RawLog) }
Collector is the interface implemented by collectors who wish to collect Raw Log data from WAF Instances.
type NAPCollector ¶
type NAPCollector struct {
// contains filtered or unexported fields
}
NAPCollector lets you to Collect log data on given port.
func NewNAPCollector ¶
func NewNAPCollector(cfg *NAPConfig) (napCollector *NAPCollector, err error)
NewNAPCollector gives you a NAP collector for the syslog server.
func (*NAPCollector) Collect ¶
func (nap *NAPCollector) Collect(ctx context.Context, wg *sync.WaitGroup, collect chan<- *monitoring.RawLog)
Collect starts collecting on collect chan until done chan gets a signal.
Click to show internal directories.
Click to hide internal directories.