Documentation ¶
Index ¶
- func EditUser(c *context.APIContext)
- func EditUserPassword(c *context.APIContext)
- func GetAuthenticatedUser(ctx *context.APIContext)
- func GetUserAvatar(c *context.APIContext)
- func GetUserInformation(c *context.APIContext)
- func RequestActiveEmail(c *context.APIContext)
- func RequestResetPwdCode(c *context.APIContext)
- func ResetPasswordPost(c *context.APIContext)
- func Search(ctx *context.APIContext)
- func SignInPost(c *context.APIContext)
- func SignUpPost(c *context.APIContext)
- func UpdateAvatar(c *context.APIContext)
- type EditUserOption
- type EditUserPasswordForm
- type RequestResetPwdCodeForm
- type ResetPwdCodeForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditUser ¶
func EditUser(c *context.APIContext)
func EditUserPassword ¶
func EditUserPassword(c *context.APIContext)
func GetAuthenticatedUser ¶
func GetAuthenticatedUser(ctx *context.APIContext)
func GetUserAvatar ¶
func GetUserAvatar(c *context.APIContext)
func GetUserInformation ¶
func GetUserInformation(c *context.APIContext)
func RequestActiveEmail ¶
func RequestActiveEmail(c *context.APIContext)
func RequestResetPwdCode ¶
func RequestResetPwdCode(c *context.APIContext)
func ResetPasswordPost ¶
func ResetPasswordPost(c *context.APIContext)
func Search ¶
func Search(ctx *context.APIContext)
func SignInPost ¶
func SignInPost(c *context.APIContext)
func SignUpPost ¶
func SignUpPost(c *context.APIContext)
func UpdateAvatar ¶
func UpdateAvatar(c *context.APIContext)
Types ¶
type EditUserOption ¶
type EditUserOption struct {
Nickname *string `json:"nickname" form:"nickname" binding:"omitempty,nickname"`
}
type EditUserPasswordForm ¶
type RequestResetPwdCodeForm ¶
type RequestResetPwdCodeForm struct {
Email string `json:"email" form:"email" binding:"required,email"`
}
type ResetPwdCodeForm ¶
Click to show internal directories.
Click to hide internal directories.