ioutil

package
v2.3.0-alpha.0....-c4732eb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ioutil implements I/O utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLimitedBufferReader

func NewLimitedBufferReader(r io.Reader, n int) io.Reader

NewLimitedBufferReader returns a reader that reads from the given reader but limits the amount of data returned to at most n bytes.

Types

type ReaderAndCloser

type ReaderAndCloser struct {
	io.Reader
	io.Closer
}

ReaderAndCloser implements io.ReadCloser interface by combining reader and closer together.

Jump to

Keyboard shortcuts

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