Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
Service services.UserService
}
func (*Controller) BeforeActivation ¶
func (instance *Controller) BeforeActivation(request mvc.BeforeActivation)
路由分发
func (*Controller) SignInHandler ¶
func (instance *Controller) SignInHandler(ctx iris.Context) mvc.Response
用户登录逻辑
func (*Controller) SignOutHandler ¶
func (instance *Controller) SignOutHandler(ctx iris.Context) mvc.Response
用户注销逻辑
func (*Controller) SignUpHandler ¶
func (instance *Controller) SignUpHandler(ctx iris.Context) mvc.Response
用户注册逻辑
type SignInSuccess ¶
Click to show internal directories.
Click to hide internal directories.