mocks

package
v0.0.0-...-a8786dc Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService struct {
	mock.Mock
}

AuthService is an autogenerated mock type for the AuthService type

func (*AuthService) AuthMiddleware

func (_m *AuthService) AuthMiddleware(_a0 http.Handler) http.Handler

AuthMiddleware provides a mock function with given fields: _a0

func (*AuthService) GetPasswordHash

func (_m *AuthService) GetPasswordHash(_a0 string) ([]byte, error)

GetPasswordHash provides a mock function with given fields: _a0

func (*AuthService) GetUserID

func (_m *AuthService) GetUserID(_a0 context.Context) (int64, error)

GetUserID provides a mock function with given fields: _a0

func (*AuthService) Login

func (_m *AuthService) Login(_a0 context.Context, _a1 int64, _a2 string) error

Login provides a mock function with given fields: _a0, _a1, _a2

func (*AuthService) Logout

func (_m *AuthService) Logout(_a0 context.Context) error

Logout provides a mock function with given fields: _a0

func (*AuthService) Refresh

func (_m *AuthService) Refresh(_a0 context.Context, _a1 string) (int64, error)

Refresh provides a mock function with given fields: _a0, _a1

func (*AuthService) VerifyPasswordHash

func (_m *AuthService) VerifyPasswordHash(_a0 string, _a1 []byte) (bool, error)

VerifyPasswordHash provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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