Documentation
¶
Overview ¶
Package buflimit provides bounded in-memory command output capture.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOutputLimit = errors.New("output exceeds limit")
ErrOutputLimit reports that a Buffer retained its byte limit and rejected the remainder of a write.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer retains at most a fixed number of bytes.
Click to show internal directories.
Click to hide internal directories.