Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClosedWriter = errors.New("Writing to closed writer prohibited")
Functions ¶
This section is empty.
Types ¶
type Splitter ¶
type Splitter struct {
// contains filtered or unexported fields
}
Splitter is a thread-safe writer to split multi-line output at newlines and carriage-returns. For example to split program output having progress lines in it like ffmpeg does.
func New ¶
func New() *Splitter
New creates a new splitter instance and starts the analyzer routeing inside
Click to show internal directories.
Click to hide internal directories.