package
0.1.1
Repository: https://github.com/elastic/go-lumber.git
Documentation: pkg.go.dev

# Functions

Channel option is used to register custom channel received batches will be forwarded to.
JSONDecoder sets an alternative json decoder for parsing events.
Keepalive configures the keepalive interval returning an ACK of length 0 to lumberjack client, notifying clients the batch being still active.
ListenAndServe listens on the TCP network address addr and handles batch requests from accepted lumberjack clients.
ListenAndServeWith uses binder to create a listener for establishing a lumberjack endpoint.
NewWithListener creates a new Server using an existing net.Listener.
Timeout configures server network timeouts.
TLS enables and configures TLS support in lumberjack server.

# Variables

ErrProtocolError is returned if an protocol error was detected in the conversation with lumberjack server.

# Structs

Server serves multiple lumberjack clients supporting protocol version 2.

# Type aliases

Option type for configuring server run options.