Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitReader ¶
LimitReader returns a Reader that reads from r but stops with types.ErrLimit after n bytes. The underlying implementation is a *io.LimitedReader.
Types ¶
type LimitedReader ¶
type LimitedReader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.