mocks

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: GPL-3.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 IRepo

type IRepo struct {
	mock.Mock
}

IRepo is an autogenerated mock type for the IRepo type

func (*IRepo) GetByEmail added in v1.3.2

func (_m *IRepo) GetByEmail(ctx contextx.Contextx, email string) (*user.Profile, error)

GetByEmail provides a mock function with given fields: ctx, email

func (*IRepo) GetByID added in v1.3.6

func (_m *IRepo) GetByID(ctx contextx.Contextx, id int64) (*user.Profile, error)

GetByID provides a mock function with given fields: ctx, id

func (*IRepo) GetByToken added in v1.3.6

func (_m *IRepo) GetByToken(ctx contextx.Contextx, token string) (*user.Profile, error)

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

func (*IRepo) Register added in v1.3.2

func (_m *IRepo) Register(ctx contextx.Contextx, newUser *user.Profile) (*user.Profile, error)

Register provides a mock function with given fields: ctx, newUser

func (*IRepo) UpdateToken added in v1.3.2

func (_m *IRepo) UpdateToken(ctx contextx.Contextx, updated *user.Profile) (*user.Profile, error)

UpdateToken provides a mock function with given fields: ctx, updated

Jump to

Keyboard shortcuts

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