Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a user controller
func NewController ¶
func NewController(userService *user.Service) *Controller
NewController create a new user controller
func (*Controller) CreateUser ¶
func (x *Controller) CreateUser(c *gin.Context)
CreateUser create a new user
func (*Controller) DeleteUser ¶
func (x *Controller) DeleteUser(c *gin.Context)
DeleteUser delete a user
func (*Controller) UpdateUser ¶
func (x *Controller) UpdateUser(c *gin.Context)
UpdateUser update a user
Click to show internal directories.
Click to hide internal directories.