response

package
v0.0.0-...-3e41d62 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2016 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestResponse

type TestResponse struct {
	Code       int
	Headers    http.Header
	Body       io.Reader
	BodyString string
	BodyBytes  []byte
	Response   *http.Response
}

func NewTestResponse

func NewTestResponse(rec *http.Response) (r *TestResponse)

func (*TestResponse) UnmarshalBody

func (r *TestResponse) UnmarshalBody(v interface{}) error

Jump to

Keyboard shortcuts

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