mocks

package
v0.0.0-...-122b1a1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 4 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) CheckAuthentication

func (_m *AuthService) CheckAuthentication(ctx context.Context, token types.AuthenticationToken) (bool, error)

CheckAuthentication provides a mock function with given fields: ctx, token

func (*AuthService) Login

func (_m *AuthService) Login(ctx context.Context, credentials types.Credentials) (types.AuthenticationToken, error)

Login provides a mock function with given fields: ctx, credentials

type UserService

type UserService struct {
	mock.Mock
}

UserService is an autogenerated mock type for the UserService type

func (*UserService) Create

func (_m *UserService) Create(ctx context.Context, username string, email string, password string) (*entities.User, error)

Create provides a mock function with given fields: ctx, username, email, password

Jump to

Keyboard shortcuts

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