package
1.20240719.1
Repository: https://github.com/blend/go-sdk.git
Documentation: pkg.go.dev

# Functions

NewBuffer creates a new line writer from a given set of bytes.
NewPool returns a new Pool, which returns bytes buffers pre-sized to a given minimum size.
PutOnClose wraps a buffer with a close function that will return the buffer to the pool.

# Structs

Buffer is a writer that accepts binary but splits out onto new lines.
BufferChunk is a single write to a buffer with a timestamp.
BufferHandlers is a synchronized map of listeners for new lines to a line buffer.
Pool is a sync.Pool of bytes.Buffer.
PutOnCloser is a helper wrapper that will return a buffer to a given pool.

# Type aliases

BufferChunkHandler is a handler for output chunks.