Documentation ¶
Overview ¶
THIS FILE IS A GENERATED CODE. DO NOT EDIT
Index ¶
- type GetUserController
- type GetUserRequest
- type GetUserResponse
- type IGetUserController
- type IPostUpdateUserNameController
- type IPostUpdateUserPasswordController
- type PostUpdateUserNameController
- type PostUpdateUserNameRequest
- type PostUpdateUserNameResponse
- type PostUpdateUserPasswordController
- type PostUpdateUserPasswordRequest
- type PostUpdateUserPasswordResponse
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserController ¶ added in v0.2.0
type GetUserController struct { }
func NewGetUserController ¶ added in v0.2.0
func NewGetUserController() *GetUserController
func (*GetUserController) GetUser ¶ added in v0.2.0
func (g *GetUserController) GetUser( ctx context.Context, c echo.Context, req *GetUserRequest, ) (res *GetUserResponse, err error)
GetUser @Summary WIP @Description WIP @Accept json @Produce json @Param userID path string WIP:${isRequire} WIP:${description} @Param search_request query string WIP:${isRequire} WIP:${description} @Success 200 {object} GetUserResponse @Failure 400 {object} WIP @Router /service/user2/{userID} [GET]
type GetUserRequest ¶ added in v0.2.0
type GetUserResponse ¶ added in v0.2.0
type IGetUserController ¶ added in v0.2.0
type IGetUserController interface {
GetUser(c echo.Context, req *GetUserRequest) (res *GetUserResponse, err error)
}
type IPostUpdateUserNameController ¶
type IPostUpdateUserNameController interface {
PostUpdateUserName(c echo.Context, req *PostUpdateUserNameRequest) (res *PostUpdateUserNameResponse, err error)
}
type IPostUpdateUserPasswordController ¶
type IPostUpdateUserPasswordController interface {
PostUpdateUserPassword(c echo.Context, req *PostUpdateUserPasswordRequest) (res *PostUpdateUserPasswordResponse, err error)
}
type PostUpdateUserNameController ¶
type PostUpdateUserNameController struct { }
func NewPostUpdateUserNameController ¶
func NewPostUpdateUserNameController() *PostUpdateUserNameController
func (*PostUpdateUserNameController) PostUpdateUserName ¶
func (p *PostUpdateUserNameController) PostUpdateUserName( ctx context.Context, c echo.Context, req *PostUpdateUserNameRequest, ) (res *PostUpdateUserNameResponse, err error)
PostUpdateUserName @Summary WIP @Description WIP @Accept json @Produce json @Param Name body string WIP:${isRequire} WIP:${description} @Success 200 {object} PostUpdateUserNameResponse @Failure 400 {object} WIP @Router /service/user2/update_user_name [POST]
type PostUpdateUserNameRequest ¶
type PostUpdateUserNameRequest struct {
Name string
}
type PostUpdateUserPasswordController ¶
type PostUpdateUserPasswordController struct { }
func NewPostUpdateUserPasswordController ¶
func NewPostUpdateUserPasswordController() *PostUpdateUserPasswordController
func (*PostUpdateUserPasswordController) PostUpdateUserPassword ¶
func (p *PostUpdateUserPasswordController) PostUpdateUserPassword( ctx context.Context, c echo.Context, req *PostUpdateUserPasswordRequest, ) (res *PostUpdateUserPasswordResponse, err error)
PostUpdateUserPassword @Summary WIP @Description WIP @Accept json @Produce json @Param Password body string WIP:${isRequire} WIP:${description} @Param PasswordConfirm body string WIP:${isRequire} WIP:${description} @Success 200 {object} PostUpdateUserPasswordResponse @Failure 400 {object} WIP @Router /service/user2/update_user_password [POST]
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}