middlewaremock

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package middlewaremock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIMiddleware

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

MockIMiddleware is a mock of IMiddleware interface.

func NewMockIMiddleware

func NewMockIMiddleware(ctrl *gomock.Controller) *MockIMiddleware

NewMockIMiddleware creates a new mock instance.

func (*MockIMiddleware) EXPECT

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

func (*MockIMiddleware) Handler

func (m *MockIMiddleware) Handler(handler http.Handler) http.Handler

Handler mocks base method.

type MockIMiddlewareMockRecorder

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

MockIMiddlewareMockRecorder is the mock recorder for MockIMiddleware.

func (*MockIMiddlewareMockRecorder) Handler

func (mr *MockIMiddlewareMockRecorder) Handler(handler interface{}) *gomock.Call

Handler indicates an expected call of Handler.

Jump to

Keyboard shortcuts

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