user

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 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 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/user/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/user/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) PostUpdateUserName

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

func (*Routes) PostUpdateUserPassword

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

Jump to

Keyboard shortcuts

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