Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotNilDefault ¶ added in v0.18.0
Types ¶
type LimitedBuffer ¶
type LimitedBuffer struct {
// contains filtered or unexported fields
}
LimitedBuffer stores only last 'limit' bytes written to it
func NewLimitedBuffer ¶
func NewLimitedBuffer(limit int) *LimitedBuffer
NewLimitedBuffer returns new LimitedBuffer
func (*LimitedBuffer) String ¶
func (b *LimitedBuffer) String() string
String returns string representation of buffer.
Click to show internal directories.
Click to hide internal directories.