Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct { web.Controller // contains filtered or unexported fields }
hi: RestController
func (*UserController) DeleteById ¶
func (c *UserController) DeleteById(id string) (response model.Response, err error)
Delete /user/id/{id}
func (*UserController) GetById ¶
func (c *UserController) GetById(id string) (model.Response, error)
Get /user/id/{id}
func (*UserController) Init ¶
func (c *UserController) Init(userService *service.UserService)
Init inject userService automatically
Click to show internal directories.
Click to hide internal directories.