Documentation ¶
Index ¶
- type ChangePassword
- type UserController
- func (userController *UserController) ChangePassword(c *gin.Context)
- func (userController *UserController) Create(c *gin.Context)
- func (userController *UserController) Delete(c *gin.Context)
- func (userController *UserController) DeleteCollection(c *gin.Context)
- func (u *UserController) Get(c *gin.Context)
- func (u *UserController) List(c *gin.Context)
- func (userController *UserController) Update(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePassword ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(store store.Factory) *UserController
store 为db的接口 初始化 service接口
func (*UserController) ChangePassword ¶
func (userController *UserController) ChangePassword(c *gin.Context)
func (*UserController) Delete ¶
func (userController *UserController) Delete(c *gin.Context)
func (*UserController) DeleteCollection ¶
func (userController *UserController) DeleteCollection(c *gin.Context)
func (*UserController) Get ¶
func (u *UserController) Get(c *gin.Context)
func (*UserController) List ¶
func (u *UserController) List(c *gin.Context)
func (*UserController) Update ¶
func (userController *UserController) Update(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.