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 { // GetByUsername serve caller to given username to get an user information GetByUsername(ctx contextx.Contextx, username string) (info *user.Profile, err error) // Signup serve caller to register an user Signup(ctx contextx.Contextx, username, password string) (info *user.Profile, err error) // Login serve caller to login the system Login(ctx contextx.Contextx, username, password string) (info *user.Profile, err error) }
IBiz declare user service function
Click to show internal directories.
Click to hide internal directories.