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.
Package mocks is a generated GoMock package.
Index ¶
- type ApiHandlerMock
- func (m *ApiHandlerMock) AuthResetHandler(ctx *fasthttp.RequestCtx)
- func (m *ApiHandlerMock) AuthSetHandler(ctx *fasthttp.RequestCtx)
- func (m *ApiHandlerMock) CaptchaVerifyHandler(ctx *fasthttp.RequestCtx)
- func (m *ApiHandlerMock) EXPECT() *ApiHandlerMockMockRecorder
- func (m *ApiHandlerMock) FullForwardedHandler(ctx *fasthttp.RequestCtx)
- func (m *ApiHandlerMock) Healthcheck() error
- type ApiHandlerMockMockRecorder
- func (mr *ApiHandlerMockMockRecorder) AuthResetHandler(ctx any) *gomock.Call
- func (mr *ApiHandlerMockMockRecorder) AuthSetHandler(ctx any) *gomock.Call
- func (mr *ApiHandlerMockMockRecorder) CaptchaVerifyHandler(ctx any) *gomock.Call
- func (mr *ApiHandlerMockMockRecorder) FullForwardedHandler(ctx any) *gomock.Call
- func (mr *ApiHandlerMockMockRecorder) Healthcheck() *gomock.Call
- type ApiServiceMock
- type ApiServiceMockMockRecorder
- type CaptchaProviderMock
- type CaptchaProviderMockMockRecorder
- type CsrfHandlerMock
- type CsrfHandlerMockMockRecorder
- type HttpRetryClientMock
- func (m *HttpRetryClientMock) Do(req *fasthttp.Request, resp *fasthttp.Response) error
- func (m *HttpRetryClientMock) DoWithRetry(req *fasthttp.Request, resp *fasthttp.Response, attempts uint) error
- func (m *HttpRetryClientMock) EXPECT() *HttpRetryClientMockMockRecorder
- func (m *HttpRetryClientMock) WithReadTimeout(timeout time.Duration) http.Client
- func (m *HttpRetryClientMock) WithRetryAttempts(attempts uint) retryhttp.Client
- func (m *HttpRetryClientMock) WithWriteTimeout(timeout time.Duration) http.Client
- type HttpRetryClientMockMockRecorder
- func (mr *HttpRetryClientMockMockRecorder) Do(req, resp any) *gomock.Call
- func (mr *HttpRetryClientMockMockRecorder) DoWithRetry(req, resp, attempts any) *gomock.Call
- func (mr *HttpRetryClientMockMockRecorder) WithReadTimeout(timeout any) *gomock.Call
- func (mr *HttpRetryClientMockMockRecorder) WithRetryAttempts(attempts any) *gomock.Call
- func (mr *HttpRetryClientMockMockRecorder) WithWriteTimeout(timeout any) *gomock.Call
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 ¶
func (m *ApiHandlerMock) EXPECT() *ApiHandlerMockMockRecorder
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 ¶
func (m *ApiServiceMock) EXPECT() *ApiServiceMockMockRecorder
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 ¶
func (m *CaptchaProviderMock) EXPECT() *CaptchaProviderMockMockRecorder
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.
type CsrfHandlerMock ¶ added in v1.2.0
type CsrfHandlerMock struct {
// contains filtered or unexported fields
}
CsrfHandlerMock is a mock of Handler interface.
func NewCsrfHandlerMock ¶ added in v1.2.0
func NewCsrfHandlerMock(ctrl *gomock.Controller) *CsrfHandlerMock
NewCsrfHandlerMock creates a new mock instance.
func (*CsrfHandlerMock) EXPECT ¶ added in v1.2.0
func (m *CsrfHandlerMock) EXPECT() *CsrfHandlerMockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*CsrfHandlerMock) Handler ¶ added in v1.2.0
func (m *CsrfHandlerMock) Handler(h fasthttp.RequestHandler) fasthttp.RequestHandler
Handler mocks base method.
func (*CsrfHandlerMock) RotateTokenHandler ¶ added in v1.2.0
func (m *CsrfHandlerMock) RotateTokenHandler(ctx *fasthttp.RequestCtx)
RotateTokenHandler mocks base method.
type CsrfHandlerMockMockRecorder ¶ added in v1.2.0
type CsrfHandlerMockMockRecorder struct {
// contains filtered or unexported fields
}
CsrfHandlerMockMockRecorder is the mock recorder for CsrfHandlerMock.
func (*CsrfHandlerMockMockRecorder) Handler ¶ added in v1.2.0
func (mr *CsrfHandlerMockMockRecorder) Handler(h any) *gomock.Call
Handler indicates an expected call of Handler.
func (*CsrfHandlerMockMockRecorder) RotateTokenHandler ¶ added in v1.2.0
func (mr *CsrfHandlerMockMockRecorder) RotateTokenHandler(ctx any) *gomock.Call
RotateTokenHandler indicates an expected call of RotateTokenHandler.
type HttpRetryClientMock ¶ added in v1.1.1
type HttpRetryClientMock struct {
// contains filtered or unexported fields
}
HttpRetryClientMock is a mock of Client interface.
func NewHttpRetryClientMock ¶ added in v1.1.1
func NewHttpRetryClientMock(ctrl *gomock.Controller) *HttpRetryClientMock
NewHttpRetryClientMock creates a new mock instance.
func (*HttpRetryClientMock) DoWithRetry ¶ added in v1.1.1
func (m *HttpRetryClientMock) DoWithRetry(req *fasthttp.Request, resp *fasthttp.Response, attempts uint) error
DoWithRetry mocks base method.
func (*HttpRetryClientMock) EXPECT ¶ added in v1.1.1
func (m *HttpRetryClientMock) EXPECT() *HttpRetryClientMockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*HttpRetryClientMock) WithReadTimeout ¶ added in v1.1.1
func (m *HttpRetryClientMock) WithReadTimeout(timeout time.Duration) http.Client
WithReadTimeout mocks base method.
func (*HttpRetryClientMock) WithRetryAttempts ¶ added in v1.1.1
func (m *HttpRetryClientMock) WithRetryAttempts(attempts uint) retryhttp.Client
WithRetryAttempts mocks base method.
func (*HttpRetryClientMock) WithWriteTimeout ¶ added in v1.1.1
func (m *HttpRetryClientMock) WithWriteTimeout(timeout time.Duration) http.Client
WithWriteTimeout mocks base method.
type HttpRetryClientMockMockRecorder ¶ added in v1.1.1
type HttpRetryClientMockMockRecorder struct {
// contains filtered or unexported fields
}
HttpRetryClientMockMockRecorder is the mock recorder for HttpRetryClientMock.
func (*HttpRetryClientMockMockRecorder) Do ¶ added in v1.1.1
func (mr *HttpRetryClientMockMockRecorder) Do(req, resp any) *gomock.Call
Do indicates an expected call of Do.
func (*HttpRetryClientMockMockRecorder) DoWithRetry ¶ added in v1.1.1
func (mr *HttpRetryClientMockMockRecorder) DoWithRetry(req, resp, attempts any) *gomock.Call
DoWithRetry indicates an expected call of DoWithRetry.
func (*HttpRetryClientMockMockRecorder) WithReadTimeout ¶ added in v1.1.1
func (mr *HttpRetryClientMockMockRecorder) WithReadTimeout(timeout any) *gomock.Call
WithReadTimeout indicates an expected call of WithReadTimeout.
func (*HttpRetryClientMockMockRecorder) WithRetryAttempts ¶ added in v1.1.1
func (mr *HttpRetryClientMockMockRecorder) WithRetryAttempts(attempts any) *gomock.Call
WithRetryAttempts indicates an expected call of WithRetryAttempts.
func (*HttpRetryClientMockMockRecorder) WithWriteTimeout ¶ added in v1.1.1
func (mr *HttpRetryClientMockMockRecorder) WithWriteTimeout(timeout any) *gomock.Call
WithWriteTimeout indicates an expected call of WithWriteTimeout.