mocks

package
v0.0.0-...-ff63446 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionService

type SessionService struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL