testwriter

package
v0.0.0-...-2818e4c Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 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