mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 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) GetByAccessToken added in v1.1.9

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

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

func (*IBiz) GetByID added in v1.1.9

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

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

func (*IBiz) Login

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

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

func (*IBiz) Logout added in v1.1.9

func (_m *IBiz) Logout(ctx contextx.Contextx, _a1 *user.Profile) error

Logout provides a mock function with given fields: ctx, _a1

func (*IBiz) RefreshToken added in v1.1.9

func (_m *IBiz) RefreshToken(ctx contextx.Contextx, _a1 *user.Profile) (*user.Profile, error)

RefreshToken provides a mock function with given fields: ctx, _a1

Jump to

Keyboard shortcuts

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