foo

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: 7 Imported by: 0

Documentation

Overview

Package foo ...

Package foo ... generated version: devel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPostUserController

type IPostUserController interface {
	PostUser(c echo.Context, req *PostUserRequest) (res *PostUserResponse, err error)
}

IPostUserController ...

type PostUserController

type PostUserController struct {
	*props.ControllerProps
}

PostUserController ...

func NewPostUserController

func NewPostUserController(cp *props.ControllerProps) *PostUserController

NewPostUserController ...

func (*PostUserController) AutoBind

func (p *PostUserController) AutoBind() bool

AutoBind - use echo.Bind

func (*PostUserController) PostUser

func (p *PostUserController) PostUser(
	c echo.Context, req *PostUserRequest,
) (res *PostUserResponse, err error)

PostUser ... @Summary WIP @Description WIP @Accept json @Produce json @Success 200 {object} PostUserResponse @Failure 400 {object} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /foo/bar/user [POST]

type PostUserRequest

type PostUserRequest struct {
}

PostUserRequest ...

type PostUserResponse

type PostUserResponse struct {
}

PostUserResponse ...

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

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

PostUser ...

Jump to

Keyboard shortcuts

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