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 id to get user information GetByID(ctx contextx.Contextx, id int64) (info *user.Profile, err error) // GetByToken serve caller to given user token to get user information GetByToken(ctx contextx.Contextx, token string) (info *user.Profile, err error) // Signup serve caller to given email and password to register an account Signup(ctx contextx.Contextx, email, password, name string) (info *user.Profile, err error) // Login serve caller to given email and password to login system Login(ctx contextx.Contextx, email, password string) (info *user.Profile, err error) // Logout serve caller to logout the system Logout(ctx contextx.Contextx) error }
IBiz declare user's service function
Click to show internal directories.
Click to hide internal directories.