Documentation ¶
Index ¶
- type IRepo
- func (_m *IRepo) GetAccessToken(ctx contextx.Contextx, req *http.Request) (*repo.TokenResponse, error)
- func (_m *IRepo) GetUserByOpenID(ctx contextx.Contextx, oid string) (*user.Profile, error)
- func (_m *IRepo) GetUserProfile(ctx contextx.Contextx, req *http.Request) (*repo.GetUserProfileResponse, error)
- func (_m *IRepo) RegisterUser(ctx contextx.Contextx, newUser *user.Profile) (*user.Profile, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.