Documentation ¶
Overview ¶
THIS FILE IS A GENERATED CODE. DO NOT EDIT
Index ¶
- func Bootstrap(ctx context.Context, e *echo.Echo, middlewareList MiddlewareList)
- type CreatedType
- type IPostCreateTableController
- type IPostCreateUserController
- type MiddlewareList
- type MiddlewareMap
- type MiddlewareSet
- type PostCreateTableController
- type PostCreateTableRequest
- type PostCreateTableResponse
- type PostCreateUserController
- type PostCreateUserRequest
- type PostCreateUserResponse
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap(ctx context.Context, e *echo.Echo, middlewareList MiddlewareList)
Types ¶
type CreatedType ¶
type CreatedType int
const ( CreatedTypeOwner CreatedType = iota CreatedTypeMember CreatedTypeGuest )
type IPostCreateTableController ¶
type IPostCreateTableController interface {
PostCreateTable(c echo.Context, req *PostCreateTableRequest) (res *PostCreateTableResponse, err error)
}
type IPostCreateUserController ¶
type IPostCreateUserController interface {
PostCreateUser(c echo.Context, req *PostCreateUserRequest) (res *PostCreateUserResponse, err error)
}
type MiddlewareList ¶
type MiddlewareList []*MiddlewareSet
func (MiddlewareList) ToMap ¶
func (m MiddlewareList) ToMap() MiddlewareMap
type MiddlewareMap ¶
type MiddlewareMap map[string][]echo.MiddlewareFunc
type MiddlewareSet ¶
type MiddlewareSet struct { Path string MiddlewareFunc []echo.MiddlewareFunc }
type PostCreateTableController ¶
type PostCreateTableController struct { }
func NewPostCreateTableController ¶
func NewPostCreateTableController() *PostCreateTableController
func (*PostCreateTableController) PostCreateTable ¶
func (p *PostCreateTableController) PostCreateTable( ctx context.Context, c echo.Context, req *PostCreateTableRequest, ) (res *PostCreateTableResponse, err error)
PostCreateTable @Summary WIP @Description WIP @Accept json @Produce json @Param ID body string WIP:${isRequire} WIP:${description} @Param Text body string WIP:${isRequire} WIP:${description} @Success 200 {object} PostCreateTableResponse @Failure 400 {object} WIP @Router /create_table [POST]
type PostCreateTableRequest ¶
type PostCreateTableResponse ¶
type PostCreateUserController ¶
type PostCreateUserController struct { }
func NewPostCreateUserController ¶
func NewPostCreateUserController() *PostCreateUserController
func (*PostCreateUserController) PostCreateUser ¶
func (p *PostCreateUserController) PostCreateUser( ctx context.Context, c echo.Context, req *PostCreateUserRequest, ) (res *PostCreateUserResponse, err error)
PostCreateUser @Summary WIP @Description WIP @Accept json @Produce json @Param ID body string WIP:${isRequire} WIP:${description} @Param Password body string WIP:${isRequire} WIP:${description} @Param Gender body integer WIP:${isRequire} WIP:${description} @Success 200 {object} PostCreateUserResponse @Failure 400 {object} WIP @Router /create_user [POST]
type PostCreateUserRequest ¶
PostCreateUserRequest Description ep="create_user/:id"
type PostCreateUserResponse ¶
type PostCreateUserResponse struct { Status bool Message string CreatedType CreatedType }
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
func (*Routes) PostCreateTable ¶
func (*Routes) PostCreateUser ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
THIS FILE IS A GENERATED CODE.
|
THIS FILE IS A GENERATED CODE. |
static_page
THIS FILE IS A GENERATED CODE.
|
THIS FILE IS A GENERATED CODE. |
user
THIS FILE IS A GENERATED CODE.
|
THIS FILE IS A GENERATED CODE. |
user2
THIS FILE IS A GENERATED CODE.
|
THIS FILE IS A GENERATED CODE. |
user2/_userID
THIS FILE IS A GENERATED CODE.
|
THIS FILE IS A GENERATED CODE. |
user2/_userID/_JobID
THIS FILE IS A GENERATED CODE.
|
THIS FILE IS A GENERATED CODE. |