Documentation ¶
Index ¶
- Constants
- func BaseResponse(c echo.Context, success bool, code int, message string, payload interface{}) error
- func ResolvePageParameter(pageNo int, pageSize int) (int, int)
- type AreaController
- type AreaForm
- type AttachmentController
- type BaseController
- type BaseResponseJSON
- type CodeController
- type CodeForm
- type MathController
- type MathForm
- type QRCodeController
Constants ¶
View Source
const ( STATUS_OK = 20000 STATUS_ERROR = 40000 )
Variables ¶
This section is empty.
Functions ¶
func BaseResponse ¶
Types ¶
type AreaController ¶
type AreaController struct {
Base *BaseController
}
func (*AreaController) GetAreaByID ¶
func (ctx *AreaController) GetAreaByID(c echo.Context) error
type AttachmentController ¶
type AttachmentController struct {
Base *BaseController
}
type BaseController ¶
type BaseController struct { Conf *config.Config Service *service.BaseService }
type BaseResponseJSON ¶
type CodeController ¶
type CodeController struct {
Base *BaseController
}
func (*CodeController) ConvertCoding ¶
func (ctx *CodeController) ConvertCoding(c echo.Context) error
type MathController ¶
type MathController struct {
Base *BaseController
}
func (*MathController) ConvertHexadecimal ¶
func (ctx *MathController) ConvertHexadecimal(c echo.Context) error
type QRCodeController ¶
type QRCodeController struct {
Base *BaseController
}
Click to show internal directories.
Click to hide internal directories.