Documentation ¶
Index ¶
- type AuthController
- func (ctrl *AuthController) GetChangePassword(ctx *gin.Context)
- func (ctrl *AuthController) GetLogin(ctx *gin.Context)
- func (ctrl *AuthController) Logout(ctx *gin.Context)
- func (ctrl *AuthController) PostChangePassword(ctx *gin.Context)
- func (ctrl *AuthController) PostLogin(ctx *gin.Context)
- func (ctrl *AuthController) RegistRoute(route gin.IRouter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController(s *service.UserService) *AuthController
func (*AuthController) GetChangePassword ¶
func (ctrl *AuthController) GetChangePassword(ctx *gin.Context)
func (*AuthController) GetLogin ¶
func (ctrl *AuthController) GetLogin(ctx *gin.Context)
func (*AuthController) Logout ¶
func (ctrl *AuthController) Logout(ctx *gin.Context)
func (*AuthController) PostChangePassword ¶
func (ctrl *AuthController) PostChangePassword(ctx *gin.Context)
func (*AuthController) PostLogin ¶
func (ctrl *AuthController) PostLogin(ctx *gin.Context)
func (*AuthController) RegistRoute ¶
func (ctrl *AuthController) RegistRoute(route gin.IRouter)
Click to show internal directories.
Click to hide internal directories.