service

package
v0.0.0-...-7e06a17 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package service is a generated GoMock package.

Package service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSessionsService

type MockSessionsService struct {
	// contains filtered or unexported fields
}

MockSessionsService is a mock of SessionsService interface.

func NewMockSessionsService

func NewMockSessionsService(ctrl *gomock.Controller) *MockSessionsService

NewMockSessionsService creates a new mock instance.

func (*MockSessionsService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSessionsService) IsAuthenticated

func (m *MockSessionsService) IsAuthenticated(rw http.ResponseWriter, r *http.Request) bool

IsAuthenticated mocks base method.

func (*MockSessionsService) Login

Login mocks base method.

func (*MockSessionsService) Logout

Logout mocks base method.

type MockSessionsServiceMockRecorder

type MockSessionsServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionsServiceMockRecorder is the mock recorder for MockSessionsService.

func (*MockSessionsServiceMockRecorder) IsAuthenticated

func (mr *MockSessionsServiceMockRecorder) IsAuthenticated(rw, r interface{}) *gomock.Call

IsAuthenticated indicates an expected call of IsAuthenticated.

func (*MockSessionsServiceMockRecorder) Login

func (mr *MockSessionsServiceMockRecorder) Login(rw, r interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockSessionsServiceMockRecorder) Logout

func (mr *MockSessionsServiceMockRecorder) Logout(rw, r interface{}) *gomock.Call

Logout indicates an expected call of Logout.

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface.

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance.

func (*MockUserService) CreateUser

func (m *MockUserService) CreateUser(ctx context.Context, email, password string) error

CreateUser mocks base method.

func (*MockUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUserService) ValidateUserPassword

func (m *MockUserService) ValidateUserPassword(ctx context.Context, email, password string) error

ValidateUserPassword mocks base method.

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService.

func (*MockUserServiceMockRecorder) CreateUser

func (mr *MockUserServiceMockRecorder) CreateUser(ctx, email, password interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockUserServiceMockRecorder) ValidateUserPassword

func (mr *MockUserServiceMockRecorder) ValidateUserPassword(ctx, email, password interface{}) *gomock.Call

ValidateUserPassword indicates an expected call of ValidateUserPassword.

Jump to

Keyboard shortcuts

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