testwriter

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2016 License: MIT, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOutOfSpace = errors.New("out of space")

ErrOutOfSpace is returned by Limited reader when it is out of bytes.

Functions

func Limited

func Limited(n int) io.Writer

Limited returns an io.Writer that will only accept n bytes. All further calls will cause an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL