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 IBiz

type IBiz struct {
	mock.Mock
}

IBiz is an autogenerated mock type for the IBiz type

func (*IBiz) GetByID added in v1.3.6

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

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

func (*IBiz) GetByToken added in v1.3.6

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

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

func (*IBiz) Login

func (_m *IBiz) Login(ctx contextx.Contextx, email string, password string) (*user.Profile, error)

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

func (*IBiz) Logout

func (_m *IBiz) Logout(ctx contextx.Contextx) error

Logout provides a mock function with given fields: ctx

func (*IBiz) Signup

func (_m *IBiz) Signup(ctx contextx.Contextx, email string, password string, name string) (*user.Profile, error)

Signup provides a mock function with given fields: ctx, email, password, name

Jump to

Keyboard shortcuts

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