Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Login ¶
type Login struct { ID string `json:"id" valid:"required"` Account string `json:"account" valid:"required"` Password string `json:"password" valid:"required"` Captcha string `json:"captcha" valid:"required"` }
Login 用户登录
type PasswordChange ¶
type PasswordReset ¶
type PasswordReset struct {
ID int64 `json:"id" valid:"required"`
}
func (*PasswordReset) Do ¶
func (p *PasswordReset) Do() error
type UserAdd ¶
type UserDelete ¶
type UserDelete struct {
ID int64 `json:"id"`
}
func (*UserDelete) Do ¶
func (u *UserDelete) Do() error
Click to show internal directories.
Click to hide internal directories.