userhandler

package
v1.21.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) ListUser

func (h *Handler) ListUser(req *restful.Request, resp *restful.Response)

func (*Handler) PutUser

func (h *Handler) PutUser(req *restful.Request, resp *restful.Response)

func (*Handler) Regist

func (h *Handler) Regist(container *restful.Container)

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL