user2

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

THIS FILE IS A GENERATED CODE. DO NOT EDIT

Index

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 GetUserRequest struct {
	ID            string `json:"id" param:"userID"`
	SearchRequest string `json:"search_request" query:"search_request"`
}

type GetUserResponse added in v0.2.0

type GetUserResponse struct {
	ID            string
	SearchRequest string
}

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 PostUpdateUserNameResponse

type PostUpdateUserNameResponse struct {
	Status  bool
	Message 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 PostUpdateUserPasswordRequest

type PostUpdateUserPasswordRequest struct {
	Password        string
	PasswordConfirm string
}

type PostUpdateUserPasswordResponse

type PostUpdateUserPasswordResponse struct {
	Status  bool
	Message string
}

type Routes

type Routes struct {
	// contains filtered or unexported fields
}

func NewRoutes

func NewRoutes(ctx context.Context, router *echo.Group) *Routes

func (*Routes) GetUser added in v0.2.0

func (r *Routes) GetUser(ctx context.Context) echo.HandlerFunc

func (*Routes) PostUpdateUserName

func (r *Routes) PostUpdateUserName(ctx context.Context) echo.HandlerFunc

func (*Routes) PostUpdateUserPassword

func (r *Routes) PostUpdateUserPassword(ctx context.Context) echo.HandlerFunc

Directories

Path Synopsis
THIS FILE IS A GENERATED CODE.
THIS FILE IS A GENERATED CODE.
_JobID
THIS FILE IS A GENERATED CODE.
THIS FILE IS A GENERATED CODE.

Jump to

Keyboard shortcuts

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