Documentation ¶
Index ¶
- type SessionService
- func (_m *SessionService) IsValid(sessionUUID uuid.UUID) (bool, *sessionservice.SessionClaims)
- func (_m *SessionService) LogUserIn(user *models.User, response http.ResponseWriter) httperrors.HTTPError
- func (_m *SessionService) LogUserOut(sessionClaims *sessionservice.SessionClaims, response http.ResponseWriter) httperrors.HTTPError
- func (_m *SessionService) RollSession(_a0 uuid.UUID) httperrors.HTTPError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionService ¶
SessionService is an autogenerated mock type for the SessionService type
func NewSessionService ¶
func NewSessionService(t mockConstructorTestingTNewSessionService) *SessionService
NewSessionService creates a new instance of SessionService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SessionService) IsValid ¶
func (_m *SessionService) IsValid(sessionUUID uuid.UUID) (bool, *sessionservice.SessionClaims)
IsValid provides a mock function with given fields: sessionUUID
func (*SessionService) LogUserIn ¶
func (_m *SessionService) LogUserIn(user *models.User, response http.ResponseWriter) httperrors.HTTPError
LogUserIn provides a mock function with given fields: user, response
func (*SessionService) LogUserOut ¶
func (_m *SessionService) LogUserOut(sessionClaims *sessionservice.SessionClaims, response http.ResponseWriter) httperrors.HTTPError
LogUserOut provides a mock function with given fields: sessionClaims, response
func (*SessionService) RollSession ¶
func (_m *SessionService) RollSession(_a0 uuid.UUID) httperrors.HTTPError
RollSession provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.