Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tailer ¶
Tailer reads data from a net.Conn. It uses a `read` callback to be generic over types of connections.
func NewTailer ¶
func NewTailer(source *sources.LogSource, conn net.Conn, outputChan chan *message.Message, read func(*Tailer) ([]byte, string, error)) *Tailer
NewTailer returns a new Tailer
Click to show internal directories.
Click to hide internal directories.