mocks

package
v0.0.0-...-724633c Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: GPL-3.0 Imports: 5 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) GetAccessToken

func (_m *IRepo) GetAccessToken(ctx contextx.Contextx, req *http.Request) (*repo.TokenResponse, error)

GetAccessToken provides a mock function with given fields: ctx, req

func (*IRepo) GetUserByOpenID

func (_m *IRepo) GetUserByOpenID(ctx contextx.Contextx, oid string) (*user.Profile, error)

GetUserByOpenID provides a mock function with given fields: ctx, oid

func (*IRepo) GetUserProfile

func (_m *IRepo) GetUserProfile(ctx contextx.Contextx, req *http.Request) (*repo.GetUserProfileResponse, error)

GetUserProfile provides a mock function with given fields: ctx, req

func (*IRepo) RegisterUser

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

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

Jump to

Keyboard shortcuts

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