Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
UserController 是 user 模块在 Controller 层的实现,用来处理用户模块的请求.
func (*UserController) ChangePassword ¶
func (ctrl *UserController) ChangePassword(c *gin.Context)
ChangePassword 用来修改指定用户的密码.
func (*UserController) Login ¶
func (ctrl *UserController) Login(c *gin.Context)
登录 miniblog 并返回一个 JWT Token.
Click to show internal directories.
Click to hide internal directories.