Documentation ¶
Index ¶
- func Login(c *gin.Context)
- func LoginStatus(c *gin.Context)
- func Logout(c *gin.Context)
- func MyUserPassword(c *gin.Context)
- func MyUserSetting(c *gin.Context)
- func RoleAdd(c *gin.Context)
- func RoleDelete(c *gin.Context)
- func RoleDetail(c *gin.Context)
- func RoleList(c *gin.Context)
- func RolePrivList(c *gin.Context)
- func RoleUpdate(c *gin.Context)
- func UserAdd(c *gin.Context)
- func UserDelete(c *gin.Context)
- func UserDetail(c *gin.Context)
- func UserExists(c *gin.Context)
- func UserList(c *gin.Context)
- func UserUpdate(c *gin.Context)
- type LoginBind
- type QueryBind
- type RoleFormBind
- type UserExistsQuery
- type UserForm
- type UserPasswordForm
- type UserSettingForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginStatus ¶
func MyUserPassword ¶
func MyUserSetting ¶
func RoleDelete ¶
func RoleDetail ¶
func RolePrivList ¶
func RoleUpdate ¶
func UserDelete ¶
func UserDetail ¶
func UserExists ¶
func UserUpdate ¶
Types ¶
type RoleFormBind ¶
type UserExistsQuery ¶
type UserForm ¶
type UserForm struct { ID int `form:"id"` RoleId int `form:"role_id" binding:"required"` Username string `form:"username" binding:"required"` Password string `form:"password"` Email string `form:"email" binding:"required"` Truename string `form:"truename"` Mobile string `form:"mobile"` Status int `form:"status"` }
type UserPasswordForm ¶
type UserSettingForm ¶
Click to show internal directories.
Click to hide internal directories.