Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type UserController ¶
type UserController struct { at.RestController at.RequestMapping `value:"/user" ` }
func (*UserController) DeleteUser ¶
func (c *UserController) DeleteUser(at struct { at.DeleteMapping `value:"/{id}"` }, id int) (response *UserResponse)
GetUser
func (*UserController) GetUser ¶
func (c *UserController) GetUser(at struct { at.GetMapping `value:"/{id}"` }, id int) (response *UserResponse)
GetUser
type UserResponse ¶
type UserResponse struct { at.ResponseBody `json:"-"` model.BaseResponse Data *User `json:"data"` }
Click to show internal directories.
Click to hide internal directories.