mock_http

package
v0.0.0-...-997c607 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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 MockHttpRequestHandler

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

MockHttpRequestHandler is a mock of HttpRequestHandler interface.

func NewMockHttpRequestHandler

func NewMockHttpRequestHandler(ctrl *gomock.Controller) *MockHttpRequestHandler

NewMockHttpRequestHandler creates a new mock instance.

func (*MockHttpRequestHandler) EXPECT

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

func (*MockHttpRequestHandler) HandleRequest

func (m *MockHttpRequestHandler) HandleRequest(arg0 *fasthttp.Request) (*fasthttp.Response, error)

HandleRequest mocks base method.

func (*MockHttpRequestHandler) Proxy

Proxy mocks base method.

func (*MockHttpRequestHandler) WorkerCount

func (m *MockHttpRequestHandler) WorkerCount() int

WorkerCount mocks base method.

type MockHttpRequestHandlerMockRecorder

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

MockHttpRequestHandlerMockRecorder is the mock recorder for MockHttpRequestHandler.

func (*MockHttpRequestHandlerMockRecorder) HandleRequest

func (mr *MockHttpRequestHandlerMockRecorder) HandleRequest(arg0 interface{}) *gomock.Call

HandleRequest indicates an expected call of HandleRequest.

func (*MockHttpRequestHandlerMockRecorder) Proxy

func (mr *MockHttpRequestHandlerMockRecorder) Proxy(arg0 interface{}) *gomock.Call

Proxy indicates an expected call of Proxy.

func (*MockHttpRequestHandlerMockRecorder) WorkerCount

func (mr *MockHttpRequestHandlerMockRecorder) WorkerCount() *gomock.Call

WorkerCount indicates an expected call of WorkerCount.

Jump to

Keyboard shortcuts

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