Versions in this module Expand all Collapse all v1 v1.10.1 Mar 16, 2021 v1.10.0 Mar 12, 2021 Changes in this version + type GetUserController struct + func NewGetUserController(cp *props.ControllerProps) *GetUserController + func (g *GetUserController) AutoBind() bool + func (g *GetUserController) GetUser(c echo.Context, req *GetUserRequest) (res *GetUserResponse, err error) + type GetUserRequest struct + ID string + SearchRequest string + type GetUserResponse struct + ID string + RequestTime time.Time + SearchRequest string + type IGetUserController interface + GetUser func(c echo.Context, req *GetUserRequest) (res *GetUserResponse, err error) + type IPostUpdateUserNameController interface + PostUpdateUserName func(c echo.Context, req *PostUpdateUserNameRequest) (res *PostUpdateUserNameResponse, err error) + type IPostUpdateUserPasswordController interface + PostUpdateUserPassword func(c echo.Context, req *PostUpdateUserPasswordRequest) (res *PostUpdateUserPasswordResponse, err error) + type PostUpdateUserNameController struct + func NewPostUpdateUserNameController(cp *props.ControllerProps) *PostUpdateUserNameController + func (p *PostUpdateUserNameController) AutoBind() bool + func (p *PostUpdateUserNameController) PostUpdateUserName(c echo.Context, req *PostUpdateUserNameRequest) (res *PostUpdateUserNameResponse, err error) + type PostUpdateUserNameRequest struct + Name string + type PostUpdateUserNameResponse struct + Message string + RequestTime time.Time + Status bool + type PostUpdateUserPasswordController struct + func NewPostUpdateUserPasswordController(cp *props.ControllerProps) *PostUpdateUserPasswordController + func (p *PostUpdateUserPasswordController) AutoBind() bool + func (p *PostUpdateUserPasswordController) PostUpdateUserPassword(c echo.Context, req *PostUpdateUserPasswordRequest) (res *PostUpdateUserPasswordResponse, err error) + type PostUpdateUserPasswordRequest struct + Password string + PasswordConfirm string + type PostUpdateUserPasswordResponse struct + Message string + RequestTime time.Time + Status bool + type Routes struct + func NewRoutes(p *props.ControllerProps, router *echo.Group, opts ...io.Writer) *Routes + func (r *Routes) GetUser(p *props.ControllerProps) echo.HandlerFunc + func (r *Routes) PostUpdateUserName(p *props.ControllerProps) echo.HandlerFunc + func (r *Routes) PostUpdateUserPassword(p *props.ControllerProps) echo.HandlerFunc