package
6.8.10+incompatible
Repository: https://github.com/pytimer/beats.git
Documentation: pkg.go.dev

# Functions

IsMaxReadBufferErr returns true when the error is ErrMaxReadBuffer.
New creates a new tcp server.
NewDeadlineReader returns a new DeadlineReader.
NewResetableLimitedReader returns a new ResetableLimitedReader.

# Constants

Name is the human readable name and identifier.

# Variables

ErrMaxReadBuffer returns when too many bytes was read on the io.Reader.

# Structs

Config exposes the tcp configuration.
DeadlineReader allow read to a io.Reader to timeout, the timeout is refreshed on every read.
ResetableLimitedReader is based on LimitedReader but allow to reset the byte read and return a specific error when we reach the limit.
Server represent a TCP server.