Documentation

Overview

    Package service ...

    Package service ... generated version: devel

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type GetArticleController

    type GetArticleController struct {
    	*props.ControllerProps
    }

      GetArticleController ...

      func NewGetArticleController

      func NewGetArticleController(cp *props.ControllerProps) *GetArticleController

        NewGetArticleController ...

        func (*GetArticleController) GetArticle

        func (g *GetArticleController) GetArticle(
        	_ echo.Context, req *GetArticleRequest,
        ) (res *GetArticleResponse, err error)

          GetArticle ... @Summary WIP @Description WIP @Accept json @Produce json @Param ID query integer WIP:${isRequire} WIP:${description} @Success 200 {object} GetArticleResponse @Failure 400 {object} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /service/article [GET]

          type GetArticleRequest

          type GetArticleRequest struct {
          	ID int
          }

            GetArticleRequest ...

            type GetArticleResponse

            type GetArticleResponse struct {
            	ID          int
            	Group       []string
            	Body        string
            	RequestTime time.Time
            }

              GetArticleResponse ...

              type IGetArticleController

              type IGetArticleController interface {
              	GetArticle(c echo.Context, req *GetArticleRequest) (res *GetArticleResponse, err error)
              }

                IGetArticleController ...

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

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

                      GetArticle ...

                      Directories

                      Path Synopsis
                      Package static ...
                      Package static ...
                      Package table ...
                      Package table ...
                      Package user ...
                      Package user ...
                      Package user2 ...
                      Package user2 ...
                      _userID
                      Package _userID ...
                      Package _userID ...
                      _userID/_JobID
                      Package _JobID ...
                      Package _JobID ...