mock_http

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockResponseWriter

type MockResponseWriter struct {
	// contains filtered or unexported fields
}

Mock of ResponseWriter interface

func NewMockResponseWriter

func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter

func (*MockResponseWriter) EXPECT

func (_m *MockResponseWriter) EXPECT() *_MockResponseWriterRecorder

func (*MockResponseWriter) Header

func (_m *MockResponseWriter) Header() http.Header

func (*MockResponseWriter) Write

func (_m *MockResponseWriter) Write(_param0 []byte) (int, error)

func (*MockResponseWriter) WriteHeader

func (_m *MockResponseWriter) WriteHeader(_param0 int)

Jump to

Keyboard shortcuts

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