Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, repo.ProviderSet)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IBiz ¶
type IBiz interface { // GetByID serve caller to given user's id to get user profile GetByID(ctx contextx.Contextx, id string) (info *user.Profile, err error) // GetByAccessToken serve caller to given user's access token to get user profile GetByAccessToken(ctx contextx.Contextx, token string) (info *user.Profile, err error) // Login serve caller to given id and password then login the system Login(ctx contextx.Contextx, id, password string) (info *user.Profile, err error) // RefreshToken serve caller to refresh user's access token RefreshToken(ctx contextx.Contextx, user *user.Profile) (info *user.Profile, err error) // Logout serve caller to logout the system Logout(ctx contextx.Contextx, user *user.Profile) error }
IBiz declare user biz service function
Click to show internal directories.
Click to hide internal directories.