Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) CheckSession ¶
func (m *MockHandler) CheckSession(arg0 http.ResponseWriter, arg1 *http.Request)
CheckSession mocks base method.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) CheckSession ¶
func (mr *MockHandlerMockRecorder) CheckSession(arg0, arg1 interface{}) *gomock.Call
CheckSession indicates an expected call of CheckSession.
type MockUseCase ¶
type MockUseCase struct {
// contains filtered or unexported fields
}
MockUseCase is a mock of UseCase interface.
func NewMockUseCase ¶
func NewMockUseCase(ctrl *gomock.Controller) *MockUseCase
NewMockUseCase creates a new mock instance.
func (*MockUseCase) CreateNewSession ¶
func (m *MockUseCase) CreateNewSession(arg0 uint64) (*models.Session, error)
CreateNewSession mocks base method.
func (*MockUseCase) DestroySession ¶
func (m *MockUseCase) DestroySession(arg0 string) error
DestroySession mocks base method.
func (*MockUseCase) EXPECT ¶
func (m *MockUseCase) EXPECT() *MockUseCaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUseCase) GetUserIdBySession ¶
func (m *MockUseCase) GetUserIdBySession(arg0 string) (uint64, error)
GetUserIdBySession mocks base method.
type MockUseCaseMockRecorder ¶
type MockUseCaseMockRecorder struct {
// contains filtered or unexported fields
}
MockUseCaseMockRecorder is the mock recorder for MockUseCase.
func (*MockUseCaseMockRecorder) CreateNewSession ¶
func (mr *MockUseCaseMockRecorder) CreateNewSession(arg0 interface{}) *gomock.Call
CreateNewSession indicates an expected call of CreateNewSession.
func (*MockUseCaseMockRecorder) DestroySession ¶
func (mr *MockUseCaseMockRecorder) DestroySession(arg0 interface{}) *gomock.Call
DestroySession indicates an expected call of DestroySession.
func (*MockUseCaseMockRecorder) GetUserIdBySession ¶
func (mr *MockUseCaseMockRecorder) GetUserIdBySession(arg0 interface{}) *gomock.Call
GetUserIdBySession indicates an expected call of GetUserIdBySession.