Documentation
¶
Overview ¶
Package mock_basesession is a generated GoMock package.
Index ¶
- type MockHandlers
- func (m *MockHandlers) Authenticated() http.HandlerFunc
- func (m *MockHandlers) EXPECT() *MockHandlersMockRecorder
- func (m *MockHandlers) Logout() http.HandlerFunc
- func (m *MockHandlers) SetXSRFToken(next http.Handler) http.Handler
- func (m *MockHandlers) StartSession(next http.Handler) http.Handler
- func (m *MockHandlers) ValidateSession(next http.Handler) http.Handler
- func (m *MockHandlers) ValidateXSRFToken(next http.Handler) http.Handler
- type MockHandlersMockRecorder
- func (mr *MockHandlersMockRecorder) Authenticated() *gomock.Call
- func (mr *MockHandlersMockRecorder) Logout() *gomock.Call
- func (mr *MockHandlersMockRecorder) SetXSRFToken(next any) *gomock.Call
- func (mr *MockHandlersMockRecorder) StartSession(next any) *gomock.Call
- func (mr *MockHandlersMockRecorder) ValidateSession(next any) *gomock.Call
- func (mr *MockHandlersMockRecorder) ValidateXSRFToken(next any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandlers ¶
type MockHandlers struct {
// contains filtered or unexported fields
}
MockHandlers is a mock of Handlers interface.
func NewMockHandlers ¶
func NewMockHandlers(ctrl *gomock.Controller) *MockHandlers
NewMockHandlers creates a new mock instance.
func (*MockHandlers) Authenticated ¶
func (m *MockHandlers) Authenticated() http.HandlerFunc
Authenticated mocks base method.
func (*MockHandlers) EXPECT ¶
func (m *MockHandlers) EXPECT() *MockHandlersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandlers) Logout ¶
func (m *MockHandlers) Logout() http.HandlerFunc
Logout mocks base method.
func (*MockHandlers) SetXSRFToken ¶
func (m *MockHandlers) SetXSRFToken(next http.Handler) http.Handler
SetXSRFToken mocks base method.
func (*MockHandlers) StartSession ¶
func (m *MockHandlers) StartSession(next http.Handler) http.Handler
StartSession mocks base method.
func (*MockHandlers) ValidateSession ¶
func (m *MockHandlers) ValidateSession(next http.Handler) http.Handler
ValidateSession mocks base method.
func (*MockHandlers) ValidateXSRFToken ¶
func (m *MockHandlers) ValidateXSRFToken(next http.Handler) http.Handler
ValidateXSRFToken mocks base method.
type MockHandlersMockRecorder ¶
type MockHandlersMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlersMockRecorder is the mock recorder for MockHandlers.
func (*MockHandlersMockRecorder) Authenticated ¶
func (mr *MockHandlersMockRecorder) Authenticated() *gomock.Call
Authenticated indicates an expected call of Authenticated.
func (*MockHandlersMockRecorder) Logout ¶
func (mr *MockHandlersMockRecorder) Logout() *gomock.Call
Logout indicates an expected call of Logout.
func (*MockHandlersMockRecorder) SetXSRFToken ¶
func (mr *MockHandlersMockRecorder) SetXSRFToken(next any) *gomock.Call
SetXSRFToken indicates an expected call of SetXSRFToken.
func (*MockHandlersMockRecorder) StartSession ¶
func (mr *MockHandlersMockRecorder) StartSession(next any) *gomock.Call
StartSession indicates an expected call of StartSession.
func (*MockHandlersMockRecorder) ValidateSession ¶
func (mr *MockHandlersMockRecorder) ValidateSession(next any) *gomock.Call
ValidateSession indicates an expected call of ValidateSession.
func (*MockHandlersMockRecorder) ValidateXSRFToken ¶
func (mr *MockHandlersMockRecorder) ValidateXSRFToken(next any) *gomock.Call
ValidateXSRFToken indicates an expected call of ValidateXSRFToken.