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)