testwriter

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: 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