Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
BufferSize int // BufferSize is the number of logs to buffer before flush (default: 100)
Client Elasticsearch // Client for ES
Prefix string // logs will be prefixed with this
}
Config for handler.
type Elasticsearch ¶
Elasticsearch interface.
Click to show internal directories.
Click to hide internal directories.