Documentation ¶
Index ¶
- type Handler
- func (h *Handler) CreateUser(req *restful.Request, resp *restful.Response)
- func (h *Handler) DeleteUser(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListUser(req *restful.Request, resp *restful.Response)
- func (h *Handler) PutUser(req *restful.Request, resp *restful.Response)
- func (h *Handler) Regist(container *restful.Container)
- func (h *Handler) RetrieveUser(req *restful.Request, resp *restful.Response)
- type UserCommonResp
- type UserCreateResp
- type UserListResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
base.BaseHandler
}
func (*Handler) CreateUser ¶
func (h *Handler) CreateUser(req *restful.Request, resp *restful.Response)
func (*Handler) DeleteUser ¶
func (h *Handler) DeleteUser(req *restful.Request, resp *restful.Response)
func (*Handler) RetrieveUser ¶
func (h *Handler) RetrieveUser(req *restful.Request, resp *restful.Response)
type UserCommonResp ¶
type UserCommonResp struct { handlers.RespBase Data models.UserCommon `json:"data"` }
type UserCreateResp ¶
type UserCreateResp struct { handlers.RespBase Data models.UserCreate `json:"data"` }
type UserListResp ¶
type UserListResp struct { handlers.ListBase List []models.UserCommon `json:"list"` }
Click to show internal directories.
Click to hide internal directories.