Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fn ¶
type Fn struct {
// contains filtered or unexported fields
}
Fn calls function for each line written
type LastLines ¶
type LastLines struct { Fn // contains filtered or unexported fields }
LastLines buffers the last n lines
func NewLastLines ¶
NewLastLines creates a new limited line buffer that buffers the last n lines
Click to show internal directories.
Click to hide internal directories.