mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 ApiHandlerMock

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

ApiHandlerMock is a mock of Handler interface.

func NewApiHandlerMock

func NewApiHandlerMock(ctrl *gomock.Controller) *ApiHandlerMock

NewApiHandlerMock creates a new mock instance.

func (*ApiHandlerMock) AuthResetHandler

func (m *ApiHandlerMock) AuthResetHandler(ctx *fasthttp.RequestCtx)

AuthResetHandler mocks base method.

func (*ApiHandlerMock) AuthSetHandler

func (m *ApiHandlerMock) AuthSetHandler(ctx *fasthttp.RequestCtx)

AuthSetHandler mocks base method.

func (*ApiHandlerMock) CaptchaVerifyHandler added in v1.1.0

func (m *ApiHandlerMock) CaptchaVerifyHandler(ctx *fasthttp.RequestCtx)

CaptchaVerifyHandler mocks base method.

func (*ApiHandlerMock) EXPECT

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

func (*ApiHandlerMock) FullForwardedHandler

func (m *ApiHandlerMock) FullForwardedHandler(ctx *fasthttp.RequestCtx)

FullForwardedHandler mocks base method.

func (*ApiHandlerMock) Healthcheck

func (m *ApiHandlerMock) Healthcheck() error

Healthcheck mocks base method.

type ApiHandlerMockMockRecorder

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

ApiHandlerMockMockRecorder is the mock recorder for ApiHandlerMock.

func (*ApiHandlerMockMockRecorder) AuthResetHandler

func (mr *ApiHandlerMockMockRecorder) AuthResetHandler(ctx any) *gomock.Call

AuthResetHandler indicates an expected call of AuthResetHandler.

func (*ApiHandlerMockMockRecorder) AuthSetHandler

func (mr *ApiHandlerMockMockRecorder) AuthSetHandler(ctx any) *gomock.Call

AuthSetHandler indicates an expected call of AuthSetHandler.

func (*ApiHandlerMockMockRecorder) CaptchaVerifyHandler added in v1.1.0

func (mr *ApiHandlerMockMockRecorder) CaptchaVerifyHandler(ctx any) *gomock.Call

CaptchaVerifyHandler indicates an expected call of CaptchaVerifyHandler.

func (*ApiHandlerMockMockRecorder) FullForwardedHandler

func (mr *ApiHandlerMockMockRecorder) FullForwardedHandler(ctx any) *gomock.Call

FullForwardedHandler indicates an expected call of FullForwardedHandler.

func (*ApiHandlerMockMockRecorder) Healthcheck

func (mr *ApiHandlerMockMockRecorder) Healthcheck() *gomock.Call

Healthcheck indicates an expected call of Healthcheck.

type ApiServiceMock

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

ApiServiceMock is a mock of Service interface.

func NewApiServiceMock

func NewApiServiceMock(ctrl *gomock.Controller) *ApiServiceMock

NewApiServiceMock creates a new mock instance.

func (*ApiServiceMock) EXPECT

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

func (*ApiServiceMock) ForwardRequest

func (m *ApiServiceMock) ForwardRequest(ctx *fasthttp.RequestCtx, body []byte) error

ForwardRequest mocks base method.

func (*ApiServiceMock) Healthcheck

func (m *ApiServiceMock) Healthcheck() error

Healthcheck mocks base method.

type ApiServiceMockMockRecorder

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

ApiServiceMockMockRecorder is the mock recorder for ApiServiceMock.

func (*ApiServiceMockMockRecorder) ForwardRequest

func (mr *ApiServiceMockMockRecorder) ForwardRequest(ctx, body any) *gomock.Call

ForwardRequest indicates an expected call of ForwardRequest.

func (*ApiServiceMockMockRecorder) Healthcheck

func (mr *ApiServiceMockMockRecorder) Healthcheck() *gomock.Call

Healthcheck indicates an expected call of Healthcheck.

type CaptchaProviderMock

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

CaptchaProviderMock is a mock of Provider interface.

func NewCaptchaProviderMock

func NewCaptchaProviderMock(ctrl *gomock.Controller) *CaptchaProviderMock

NewCaptchaProviderMock creates a new mock instance.

func (*CaptchaProviderMock) EXPECT

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

func (*CaptchaProviderMock) Verify

func (m *CaptchaProviderMock) Verify(ctx *fasthttp.RequestCtx) (bool, error)

Verify mocks base method.

type CaptchaProviderMockMockRecorder

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

CaptchaProviderMockMockRecorder is the mock recorder for CaptchaProviderMock.

func (*CaptchaProviderMockMockRecorder) Verify

Verify indicates an expected call of Verify.

type HttpClientMock

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

HttpClientMock is a mock of Client interface.

func NewHttpClientMock

func NewHttpClientMock(ctrl *gomock.Controller) *HttpClientMock

NewHttpClientMock creates a new mock instance.

func (*HttpClientMock) Do

Do mocks base method.

func (*HttpClientMock) EXPECT

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

func (*HttpClientMock) WithReadTimeout

func (m *HttpClientMock) WithReadTimeout(timeout time.Duration) http.Client

WithReadTimeout mocks base method.

func (*HttpClientMock) WithWriteTimeout

func (m *HttpClientMock) WithWriteTimeout(timeout time.Duration) http.Client

WithWriteTimeout mocks base method.

type HttpClientMockMockRecorder

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

HttpClientMockMockRecorder is the mock recorder for HttpClientMock.

func (*HttpClientMockMockRecorder) Do

func (mr *HttpClientMockMockRecorder) Do(req, resp any) *gomock.Call

Do indicates an expected call of Do.

func (*HttpClientMockMockRecorder) WithReadTimeout

func (mr *HttpClientMockMockRecorder) WithReadTimeout(timeout any) *gomock.Call

WithReadTimeout indicates an expected call of WithReadTimeout.

func (*HttpClientMockMockRecorder) WithWriteTimeout

func (mr *HttpClientMockMockRecorder) WithWriteTimeout(timeout any) *gomock.Call

WithWriteTimeout indicates an expected call of WithWriteTimeout.

Jump to

Keyboard shortcuts

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