Documentation ¶
Overview ¶
Package bufwriter implements a simplified buffered writer, similar to the bufio package in the Go standard library, but adds automatic flushing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAutoFlushWriter ¶
func NewAutoFlushWriter(w FlushWriter) io.Writer
NewAutoFlushWriter wraps a FlushWriter and returns an io.Writer. The returned writer will automatically call the wrapped Flush method after each Write call.
Types ¶
type FlushWriter ¶
Click to show internal directories.
Click to hide internal directories.