Documentation ¶
Overview ¶
Package mock_jelly is a generated GoMock package.
Package mock_jelly is a generated GoMock package.
Package mock_jelly is a generated GoMock package.
Index ¶
- type MockAuthenticator
- type MockAuthenticatorMockRecorder
- type MockLogger
- func (m *MockLogger) Debug(arg0 string)
- func (m *MockLogger) DebugBreak()
- func (m *MockLogger) Debugf(arg0 string, arg1 ...any)
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 string)
- func (m *MockLogger) ErrorBreak()
- func (m *MockLogger) Errorf(arg0 string, arg1 ...any)
- func (m *MockLogger) Info(arg0 string)
- func (m *MockLogger) InfoBreak()
- func (m *MockLogger) Infof(arg0 string, arg1 ...any)
- func (m *MockLogger) LogResult(arg0 *http.Request, arg1 jelly.Result)
- func (m *MockLogger) Trace(arg0 string)
- func (m *MockLogger) TraceBreak()
- func (m *MockLogger) Tracef(arg0 string, arg1 ...any)
- func (m *MockLogger) Warn(arg0 string)
- func (m *MockLogger) WarnBreak()
- func (m *MockLogger) Warnf(arg0 string, arg1 ...any)
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) DebugBreak() *gomock.Call
- func (mr *MockLoggerMockRecorder) Debugf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) ErrorBreak() *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) InfoBreak() *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) LogResult(arg0, arg1 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Trace(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) TraceBreak() *gomock.Call
- func (mr *MockLoggerMockRecorder) Tracef(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) WarnBreak() *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnf(arg0 any, arg1 ...any) *gomock.Call
- type MockResponseGenerator
- func (m *MockResponseGenerator) BadRequest(arg0 string, arg1 ...any) jelly.Result
- func (m *MockResponseGenerator) Conflict(arg0 string, arg1 ...any) jelly.Result
- func (m *MockResponseGenerator) Created(arg0 any, arg1 ...any) jelly.Result
- func (m *MockResponseGenerator) EXPECT() *MockResponseGeneratorMockRecorder
- func (m *MockResponseGenerator) Err(arg0 int, arg1, arg2 string, arg3 ...any) jelly.Result
- func (m *MockResponseGenerator) Forbidden(arg0 ...any) jelly.Result
- func (m *MockResponseGenerator) InternalServerError(arg0 ...any) jelly.Result
- func (m *MockResponseGenerator) LogResponse(arg0 *http.Request, arg1 jelly.Result)
- func (m *MockResponseGenerator) Logger() jelly.Logger
- func (m *MockResponseGenerator) MethodNotAllowed(arg0 *http.Request, arg1 ...any) jelly.Result
- func (m *MockResponseGenerator) NoContent(arg0 ...any) jelly.Result
- func (m *MockResponseGenerator) NotFound(arg0 ...any) jelly.Result
- func (m *MockResponseGenerator) OK(arg0 any, arg1 ...any) jelly.Result
- func (m *MockResponseGenerator) Redirection(arg0 string) jelly.Result
- func (m *MockResponseGenerator) Response(arg0 int, arg1 any, arg2 string, arg3 ...any) jelly.Result
- func (m *MockResponseGenerator) TextErr(arg0 int, arg1, arg2 string, arg3 ...any) jelly.Result
- func (m *MockResponseGenerator) Unauthorized(arg0 string, arg1 ...any) jelly.Result
- type MockResponseGeneratorMockRecorder
- func (mr *MockResponseGeneratorMockRecorder) BadRequest(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Conflict(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Created(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Err(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Forbidden(arg0 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) InternalServerError(arg0 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) LogResponse(arg0, arg1 any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Logger() *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) MethodNotAllowed(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) NoContent(arg0 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) NotFound(arg0 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) OK(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Redirection(arg0 any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Response(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) TextErr(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockResponseGeneratorMockRecorder) Unauthorized(arg0 any, arg1 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthenticator ¶
type MockAuthenticator struct {
// contains filtered or unexported fields
}
MockAuthenticator is a mock of Authenticator interface.
func NewMockAuthenticator ¶
func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator
NewMockAuthenticator creates a new mock instance.
func (*MockAuthenticator) Authenticate ¶
Authenticate mocks base method.
func (*MockAuthenticator) EXPECT ¶
func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthenticator) Service ¶
func (m *MockAuthenticator) Service() jelly.UserLoginService
Service mocks base method.
func (*MockAuthenticator) UnauthDelay ¶
func (m *MockAuthenticator) UnauthDelay() time.Duration
UnauthDelay mocks base method.
type MockAuthenticatorMockRecorder ¶
type MockAuthenticatorMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator.
func (*MockAuthenticatorMockRecorder) Authenticate ¶
func (mr *MockAuthenticatorMockRecorder) Authenticate(arg0 any) *gomock.Call
Authenticate indicates an expected call of Authenticate.
func (*MockAuthenticatorMockRecorder) Service ¶
func (mr *MockAuthenticatorMockRecorder) Service() *gomock.Call
Service indicates an expected call of Service.
func (*MockAuthenticatorMockRecorder) UnauthDelay ¶
func (mr *MockAuthenticatorMockRecorder) UnauthDelay() *gomock.Call
UnauthDelay indicates an expected call of UnauthDelay.
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) Debugf ¶
func (m *MockLogger) Debugf(arg0 string, arg1 ...any)
Debugf mocks base method.
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...any)
Errorf mocks base method.
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(arg0 string, arg1 ...any)
Infof mocks base method.
func (*MockLogger) LogResult ¶
func (m *MockLogger) LogResult(arg0 *http.Request, arg1 jelly.Result)
LogResult mocks base method.
func (*MockLogger) Tracef ¶
func (m *MockLogger) Tracef(arg0 string, arg1 ...any)
Tracef mocks base method.
func (*MockLogger) Warnf ¶
func (m *MockLogger) Warnf(arg0 string, arg1 ...any)
Warnf mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(arg0 any) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) DebugBreak ¶
func (mr *MockLoggerMockRecorder) DebugBreak() *gomock.Call
DebugBreak indicates an expected call of DebugBreak.
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(arg0 any, arg1 ...any) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 any) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) ErrorBreak ¶
func (mr *MockLoggerMockRecorder) ErrorBreak() *gomock.Call
ErrorBreak indicates an expected call of ErrorBreak.
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 any, arg1 ...any) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 any) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) InfoBreak ¶
func (mr *MockLoggerMockRecorder) InfoBreak() *gomock.Call
InfoBreak indicates an expected call of InfoBreak.
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(arg0 any, arg1 ...any) *gomock.Call
Infof indicates an expected call of Infof.
func (*MockLoggerMockRecorder) LogResult ¶
func (mr *MockLoggerMockRecorder) LogResult(arg0, arg1 any) *gomock.Call
LogResult indicates an expected call of LogResult.
func (*MockLoggerMockRecorder) Trace ¶
func (mr *MockLoggerMockRecorder) Trace(arg0 any) *gomock.Call
Trace indicates an expected call of Trace.
func (*MockLoggerMockRecorder) TraceBreak ¶
func (mr *MockLoggerMockRecorder) TraceBreak() *gomock.Call
TraceBreak indicates an expected call of TraceBreak.
func (*MockLoggerMockRecorder) Tracef ¶
func (mr *MockLoggerMockRecorder) Tracef(arg0 any, arg1 ...any) *gomock.Call
Tracef indicates an expected call of Tracef.
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(arg0 any) *gomock.Call
Warn indicates an expected call of Warn.
func (*MockLoggerMockRecorder) WarnBreak ¶
func (mr *MockLoggerMockRecorder) WarnBreak() *gomock.Call
WarnBreak indicates an expected call of WarnBreak.
type MockResponseGenerator ¶
type MockResponseGenerator struct {
// contains filtered or unexported fields
}
MockResponseGenerator is a mock of ResponseGenerator interface.
func NewMockResponseGenerator ¶
func NewMockResponseGenerator(ctrl *gomock.Controller) *MockResponseGenerator
NewMockResponseGenerator creates a new mock instance.
func (*MockResponseGenerator) BadRequest ¶
func (m *MockResponseGenerator) BadRequest(arg0 string, arg1 ...any) jelly.Result
BadRequest mocks base method.
func (*MockResponseGenerator) Conflict ¶
func (m *MockResponseGenerator) Conflict(arg0 string, arg1 ...any) jelly.Result
Conflict mocks base method.
func (*MockResponseGenerator) Created ¶
func (m *MockResponseGenerator) Created(arg0 any, arg1 ...any) jelly.Result
Created mocks base method.
func (*MockResponseGenerator) EXPECT ¶
func (m *MockResponseGenerator) EXPECT() *MockResponseGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResponseGenerator) Forbidden ¶
func (m *MockResponseGenerator) Forbidden(arg0 ...any) jelly.Result
Forbidden mocks base method.
func (*MockResponseGenerator) InternalServerError ¶
func (m *MockResponseGenerator) InternalServerError(arg0 ...any) jelly.Result
InternalServerError mocks base method.
func (*MockResponseGenerator) LogResponse ¶
func (m *MockResponseGenerator) LogResponse(arg0 *http.Request, arg1 jelly.Result)
LogResponse mocks base method.
func (*MockResponseGenerator) Logger ¶
func (m *MockResponseGenerator) Logger() jelly.Logger
Logger mocks base method.
func (*MockResponseGenerator) MethodNotAllowed ¶
MethodNotAllowed mocks base method.
func (*MockResponseGenerator) NoContent ¶
func (m *MockResponseGenerator) NoContent(arg0 ...any) jelly.Result
NoContent mocks base method.
func (*MockResponseGenerator) NotFound ¶
func (m *MockResponseGenerator) NotFound(arg0 ...any) jelly.Result
NotFound mocks base method.
func (*MockResponseGenerator) OK ¶
func (m *MockResponseGenerator) OK(arg0 any, arg1 ...any) jelly.Result
OK mocks base method.
func (*MockResponseGenerator) Redirection ¶
func (m *MockResponseGenerator) Redirection(arg0 string) jelly.Result
Redirection mocks base method.
func (*MockResponseGenerator) Unauthorized ¶
func (m *MockResponseGenerator) Unauthorized(arg0 string, arg1 ...any) jelly.Result
Unauthorized mocks base method.
type MockResponseGeneratorMockRecorder ¶
type MockResponseGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseGeneratorMockRecorder is the mock recorder for MockResponseGenerator.
func (*MockResponseGeneratorMockRecorder) BadRequest ¶
func (mr *MockResponseGeneratorMockRecorder) BadRequest(arg0 any, arg1 ...any) *gomock.Call
BadRequest indicates an expected call of BadRequest.
func (*MockResponseGeneratorMockRecorder) Conflict ¶
func (mr *MockResponseGeneratorMockRecorder) Conflict(arg0 any, arg1 ...any) *gomock.Call
Conflict indicates an expected call of Conflict.
func (*MockResponseGeneratorMockRecorder) Created ¶
func (mr *MockResponseGeneratorMockRecorder) Created(arg0 any, arg1 ...any) *gomock.Call
Created indicates an expected call of Created.
func (*MockResponseGeneratorMockRecorder) Err ¶
func (mr *MockResponseGeneratorMockRecorder) Err(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
Err indicates an expected call of Err.
func (*MockResponseGeneratorMockRecorder) Forbidden ¶
func (mr *MockResponseGeneratorMockRecorder) Forbidden(arg0 ...any) *gomock.Call
Forbidden indicates an expected call of Forbidden.
func (*MockResponseGeneratorMockRecorder) InternalServerError ¶
func (mr *MockResponseGeneratorMockRecorder) InternalServerError(arg0 ...any) *gomock.Call
InternalServerError indicates an expected call of InternalServerError.
func (*MockResponseGeneratorMockRecorder) LogResponse ¶
func (mr *MockResponseGeneratorMockRecorder) LogResponse(arg0, arg1 any) *gomock.Call
LogResponse indicates an expected call of LogResponse.
func (*MockResponseGeneratorMockRecorder) Logger ¶
func (mr *MockResponseGeneratorMockRecorder) Logger() *gomock.Call
Logger indicates an expected call of Logger.
func (*MockResponseGeneratorMockRecorder) MethodNotAllowed ¶
func (mr *MockResponseGeneratorMockRecorder) MethodNotAllowed(arg0 any, arg1 ...any) *gomock.Call
MethodNotAllowed indicates an expected call of MethodNotAllowed.
func (*MockResponseGeneratorMockRecorder) NoContent ¶
func (mr *MockResponseGeneratorMockRecorder) NoContent(arg0 ...any) *gomock.Call
NoContent indicates an expected call of NoContent.
func (*MockResponseGeneratorMockRecorder) NotFound ¶
func (mr *MockResponseGeneratorMockRecorder) NotFound(arg0 ...any) *gomock.Call
NotFound indicates an expected call of NotFound.
func (*MockResponseGeneratorMockRecorder) OK ¶
func (mr *MockResponseGeneratorMockRecorder) OK(arg0 any, arg1 ...any) *gomock.Call
OK indicates an expected call of OK.
func (*MockResponseGeneratorMockRecorder) Redirection ¶
func (mr *MockResponseGeneratorMockRecorder) Redirection(arg0 any) *gomock.Call
Redirection indicates an expected call of Redirection.
func (*MockResponseGeneratorMockRecorder) Response ¶
func (mr *MockResponseGeneratorMockRecorder) Response(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
Response indicates an expected call of Response.
func (*MockResponseGeneratorMockRecorder) TextErr ¶
func (mr *MockResponseGeneratorMockRecorder) TextErr(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
TextErr indicates an expected call of TextErr.
func (*MockResponseGeneratorMockRecorder) Unauthorized ¶
func (mr *MockResponseGeneratorMockRecorder) Unauthorized(arg0 any, arg1 ...any) *gomock.Call
Unauthorized indicates an expected call of Unauthorized.