mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chooser

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

Chooser is a mock of Chooser interface

func NewChooser

func NewChooser(ctrl *gomock.Controller) *Chooser

NewChooser creates a new mock instance

func (*Chooser) Choose

Choose mocks base method

func (*Chooser) EXPECT

func (m *Chooser) EXPECT() *ChooserMockRecorder

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

type ChooserMockRecorder

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

ChooserMockRecorder is the mock recorder for Chooser

func (*ChooserMockRecorder) Choose

func (mr *ChooserMockRecorder) Choose(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Choose indicates an expected call of Choose

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

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

MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter

func (*MockResponseWriterMockRecorder) Header

Header indicates an expected call of Header

func (*MockResponseWriterMockRecorder) Write

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

Write indicates an expected call of Write

func (*MockResponseWriterMockRecorder) WriteHeader

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