Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LimitWriter ¶ added in v1.2.1
type LimitWriter struct { W io.Writer N int // bytes remaining that can be written D int // bytes dropped so far }
LimitWriter is a writer that limits the number of bytes written to it.
type LinePrefixer ¶ added in v1.2.1
LinePrefixer is a writer that prefixes each line written to it with a prefix.
func (*LinePrefixer) Close ¶ added in v1.2.1
func (l *LinePrefixer) Close() error
Click to show internal directories.
Click to hide internal directories.