Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct { at.RestController at.RequestMapping `value:"/user"` // contains filtered or unexported fields }
hi: RestController
func (*UserController) DeleteById ¶
func (c *UserController) DeleteById(at struct { at.DeleteMapping `value:"/{id}"` }, id string) (response model.Response, err error)
Delete /user/id/{id}
func (*UserController) GetById ¶
func (c *UserController) GetById(at struct { at.GetMapping `value:"/{id}"` }, id string) (model.Response, error)
Get /user/id/{id}
func (*UserController) Post ¶
func (c *UserController) Post(at struct { at.PostMapping `value:"/"` }, user *entity.User) (model.Response, error)
Post /user
Click to show internal directories.
Click to hide internal directories.