mocks

package
v0.0.0-...-0aa8bca Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHTTPRouter

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

MockHTTPRouter is a mock of HTTPRouter interface.

func NewMockHTTPRouter

func NewMockHTTPRouter(ctrl *gomock.Controller) *MockHTTPRouter

NewMockHTTPRouter creates a new mock instance.

func (*MockHTTPRouter) EXPECT

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

func (*MockHTTPRouter) GET

func (m *MockHTTPRouter) GET(path string, handler router.HandlerFunc)

GET mocks base method.

func (*MockHTTPRouter) OPTIONS

func (m *MockHTTPRouter) OPTIONS(path string, handler router.HandlerFunc)

OPTIONS mocks base method.

func (*MockHTTPRouter) POST

func (m *MockHTTPRouter) POST(path string, handler router.HandlerFunc)

POST mocks base method.

func (*MockHTTPRouter) PUT

func (m *MockHTTPRouter) PUT(path string, handler router.HandlerFunc)

PUT mocks base method.

type MockHTTPRouterMockRecorder

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

MockHTTPRouterMockRecorder is the mock recorder for MockHTTPRouter.

func (*MockHTTPRouterMockRecorder) GET

func (mr *MockHTTPRouterMockRecorder) GET(path, handler interface{}) *gomock.Call

GET indicates an expected call of GET.

func (*MockHTTPRouterMockRecorder) OPTIONS

func (mr *MockHTTPRouterMockRecorder) OPTIONS(path, handler interface{}) *gomock.Call

OPTIONS indicates an expected call of OPTIONS.

func (*MockHTTPRouterMockRecorder) POST

func (mr *MockHTTPRouterMockRecorder) POST(path, handler interface{}) *gomock.Call

POST indicates an expected call of POST.

func (*MockHTTPRouterMockRecorder) PUT

func (mr *MockHTTPRouterMockRecorder) PUT(path, handler interface{}) *gomock.Call

PUT indicates an expected call of PUT.

type MockRegistrator

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

MockRegistrator is a mock of Registrator interface.

func NewMockRegistrator

func NewMockRegistrator(ctrl *gomock.Controller) *MockRegistrator

NewMockRegistrator creates a new mock instance.

func (*MockRegistrator) AddMiddlewareWrapper

func (m *MockRegistrator) AddMiddlewareWrapper(wrapper ...middleware.Wrapper) router.Registrator

AddMiddlewareWrapper mocks base method.

func (*MockRegistrator) EXPECT

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

func (*MockRegistrator) Register

func (m *MockRegistrator) Register(method, path string, handler router.HandlerFunc)

Register mocks base method.

func (*MockRegistrator) ServeHTTP

func (m *MockRegistrator) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)

ServeHTTP mocks base method.

type MockRegistratorMockRecorder

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

MockRegistratorMockRecorder is the mock recorder for MockRegistrator.

func (*MockRegistratorMockRecorder) AddMiddlewareWrapper

func (mr *MockRegistratorMockRecorder) AddMiddlewareWrapper(wrapper ...interface{}) *gomock.Call

AddMiddlewareWrapper indicates an expected call of AddMiddlewareWrapper.

func (*MockRegistratorMockRecorder) Register

func (mr *MockRegistratorMockRecorder) Register(method, path, handler interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockRegistratorMockRecorder) ServeHTTP

func (mr *MockRegistratorMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP.

Jump to

Keyboard shortcuts

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