seekable

package
v0.0.0-...-a69649c Latest Latest
Warning

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

Go to latest
Published: May 26, 2014 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoBody = errors.New("no body")

Functions

func ReadAll

func ReadAll(req *http.Request) (b []byte, err error)

Types

type SeekableCloser

type SeekableCloser interface {
	Seekabler
	io.Closer
}

func New

func New(req *http.Request) (r SeekableCloser, err error)

type Seekabler

type Seekabler interface {
	Bytes() []byte
	Read(val []byte) (n int, err error)
	SeekToBegin() error
}

Jump to

Keyboard shortcuts

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