user

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package user ...

Package user ... generated version: devel

Package user ...

Package user ... generated version: devel

Package user ...

Package user ... generated version: devel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetController added in v1.4.5

type GetController struct {
	*props.ControllerProps
}

GetController ...

func NewGetController added in v1.4.5

func NewGetController(cp *props.ControllerProps) *GetController

NewGetController ...

func (*GetController) Get added in v1.4.5

func (g *GetController) Get(
	c echo.Context, req *GetRequest,
) (res *GetResponse, err error)

Get ... @Summary WIP @Description WIP @Accept json @Produce json @Success 200 {object} GetResponse @Failure 400 {object} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /service/user [GET]

type GetRequest added in v1.4.5

type GetRequest struct {
}

GetRequest ...

type GetResponse added in v1.4.5

type GetResponse struct {
}

GetResponse ...

type IGetController added in v1.4.5

type IGetController interface {
	Get(c echo.Context, req *GetRequest) (res *GetResponse, err error)
}

IGetController ...

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(
	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} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /service/user/update_user_name [POST]

type PostUpdateUserNameRequest

type PostUpdateUserNameRequest struct {
	Name string
}

PostUpdateUserNameRequest ...

type PostUpdateUserNameResponse

type PostUpdateUserNameResponse struct {
	Status      bool
	Message     string
	RequestTime time.Time
}

PostUpdateUserNameResponse ...

type PostUpdateUserPasswordController

type PostUpdateUserPasswordController struct {
	*props.ControllerProps
}

PostUpdateUserPasswordController ...

func NewPostUpdateUserPasswordController

func NewPostUpdateUserPasswordController(cp *props.ControllerProps) *PostUpdateUserPasswordController

NewPostUpdateUserPasswordController ...

func (*PostUpdateUserPasswordController) AutoBind added in v1.7.0

func (p *PostUpdateUserPasswordController) AutoBind() bool

AutoBind - Call c.Bind() before controllers and save the parameters in req

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/user/update_user_password [POST]

type PostUpdateUserPasswordRequest

type PostUpdateUserPasswordRequest struct {
	Password        string
	PasswordConfirm string
}

PostUpdateUserPasswordRequest ...

type PostUpdateUserPasswordResponse

type PostUpdateUserPasswordResponse struct {
	Status      bool
	Message     string
	RequestTime time.Time
}

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) Get added in v1.4.5

func (r *Routes) Get(p *props.ControllerProps) echo.HandlerFunc

Get ...

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 ...

Jump to

Keyboard shortcuts

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