httpfakes

package
v0.0.0-...-9b2d5d1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2016 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeResponseWriter

type FakeResponseWriter struct {
	http.Response
}

func NewFakeResponseWriter

func NewFakeResponseWriter() *FakeResponseWriter

func (*FakeResponseWriter) Header

func (w *FakeResponseWriter) Header() http.Header

func (*FakeResponseWriter) Write

func (w *FakeResponseWriter) Write([]byte) (int, error)

func (*FakeResponseWriter) WriteHeader

func (w *FakeResponseWriter) WriteHeader(status int)

Jump to

Keyboard shortcuts

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