_userID

package
v0.0.0-...-657a6a2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package _userID ... generated version: 1.6.1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPostAgeIncrementController

type IPostAgeIncrementController interface {
	PostAgeIncrement(c echo.Context, req *PostAgeIncrementRequest) (res *PostAgeIncrementResponse, err error)
}

IPostAgeIncrementController ...

type PostAgeIncrementController

type PostAgeIncrementController struct {
	*props.ControllerProps
}

PostAgeIncrementController ...

func NewPostAgeIncrementController

func NewPostAgeIncrementController(cp *props.ControllerProps) *PostAgeIncrementController

NewPostAgeIncrementController ...

func (*PostAgeIncrementController) PostAgeIncrement

PostAgeIncrement user age increment api controller @Summary UserAgeIncrementAPI @Description user age increment api @Accept json @Produce json @Param userID path string true "user id" @Success 200 {object} PostAgeIncrementResponse @Failure 400 {object} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /api/user/{userID}/age_increment [POST]

type PostAgeIncrementRequest

type PostAgeIncrementRequest struct {
	ID string `json:"userID" param:"userID" validate:"required"`
}

PostAgeIncrementRequest - user age increment request

type PostAgeIncrementResponse

type PostAgeIncrementResponse struct {
	Status   int                   `json:"status"`
	User     *model.User           `json:"payload,omitempty"`
	Messages []werror.FailedReason `json:"messages"`
}

PostAgeIncrementResponse - user age increment response

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) PostAgeIncrement

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

PostAgeIncrement ...

Jump to

Keyboard shortcuts

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