mock_http

package
v1.36.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_http is a generated GoMock package.

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
}

MockResponseWriter is a mock of ResponseWriter interface

func NewMockResponseWriter

func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter

NewMockResponseWriter creates a new mock instance

func (*MockResponseWriter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockResponseWriter) Header

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

Header mocks base method

func (*MockResponseWriter) Write

func (m *MockResponseWriter) Write(arg0 []byte) (int, error)

Write mocks base method

func (*MockResponseWriter) WriteHeader

func (m *MockResponseWriter) WriteHeader(arg0 int)

WriteHeader mocks base method

type MockResponseWriterMockRecorder added in v1.17.3

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

MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter

func (*MockResponseWriterMockRecorder) Header added in v1.17.3

Header indicates an expected call of Header

func (*MockResponseWriterMockRecorder) Write added in v1.17.3

func (mr *MockResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockResponseWriterMockRecorder) WriteHeader added in v1.17.3

func (mr *MockResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call

WriteHeader indicates an expected call of WriteHeader

Jump to

Keyboard shortcuts

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