Documentation ¶
Overview ¶
Package user2 ...
Package user2 ... generated version: devel
Package user2 ...
Package user2 ... generated version: devel
Package user2 ...
Package user2 ... generated version: devel
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 {
*props.ControllerProps
}
GetUserController ...
func NewGetUserController ¶ added in v0.2.0
func NewGetUserController(cp *props.ControllerProps) *GetUserController
NewGetUserController ...
func (*GetUserController) GetUser ¶ added in v0.2.0
func (g *GetUserController) GetUser( _ 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} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /service/user2/{userID} [GET]
type GetUserRequest ¶ added in v0.2.0
type GetUserRequest struct { ID string `json:"id" param:"userID"` SearchRequest string `json:"search_request" query:"search_request"` }
GetUserRequest ...
type GetUserResponse ¶ added in v0.2.0
GetUserResponse ...
type IGetUserController ¶ added in v0.2.0
type IGetUserController interface {
GetUser(c echo.Context, req *GetUserRequest) (res *GetUserResponse, err error)
}
IGetUserController ...
type IPostUpdateUserNameController ¶
type IPostUpdateUserNameController interface {
PostUpdateUserName(c echo.Context, req *PostUpdateUserNameRequest) (res *PostUpdateUserNameResponse, err error)
}
IPostUpdateUserNameController ...
type IPostUpdateUserPasswordController ¶
type IPostUpdateUserPasswordController interface {
PostUpdateUserPassword(c echo.Context, req *PostUpdateUserPasswordRequest) (res *PostUpdateUserPasswordResponse, err error)
}
IPostUpdateUserPasswordController ...
type PostUpdateUserNameController ¶
type PostUpdateUserNameController struct {
*props.ControllerProps
}
PostUpdateUserNameController ...
func NewPostUpdateUserNameController ¶
func NewPostUpdateUserNameController(cp *props.ControllerProps) *PostUpdateUserNameController
NewPostUpdateUserNameController ...
func (*PostUpdateUserNameController) PostUpdateUserName ¶
func (p *PostUpdateUserNameController) PostUpdateUserName( _ echo.Context, _ *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} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /service/user2/update_user_name [POST]
type PostUpdateUserNameRequest ¶
type PostUpdateUserNameRequest struct {
Name string
}
PostUpdateUserNameRequest ...
type PostUpdateUserNameResponse ¶
PostUpdateUserNameResponse ...
type PostUpdateUserPasswordController ¶
type PostUpdateUserPasswordController struct {
*props.ControllerProps
}
PostUpdateUserPasswordController ...
func NewPostUpdateUserPasswordController ¶
func NewPostUpdateUserPasswordController(cp *props.ControllerProps) *PostUpdateUserPasswordController
NewPostUpdateUserPasswordController ...
func (*PostUpdateUserPasswordController) PostUpdateUserPassword ¶
func (p *PostUpdateUserPasswordController) PostUpdateUserPassword( 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} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /service/user2/update_user_password [POST]
type PostUpdateUserPasswordRequest ¶
PostUpdateUserPasswordRequest ...
type PostUpdateUserPasswordResponse ¶
PostUpdateUserPasswordResponse ...
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
Routes ...
func NewRoutes ¶
func NewRoutes(p *props.ControllerProps, router *echo.Group, opts ...io.Writer) *Routes
NewRoutes ...
func (*Routes) GetUser ¶ added in v0.2.0
func (r *Routes) GetUser(p *props.ControllerProps) echo.HandlerFunc
GetUser ...
func (*Routes) PostUpdateUserName ¶
func (r *Routes) PostUpdateUserName(p *props.ControllerProps) echo.HandlerFunc
PostUpdateUserName ...
func (*Routes) PostUpdateUserPassword ¶
func (r *Routes) PostUpdateUserPassword(p *props.ControllerProps) echo.HandlerFunc
PostUpdateUserPassword ...