Documentation ¶
Index ¶
- type Api
- func (e *Api) Bind(ctx *gin.Context, req interface{}) error
- func (e Api) Custom(c *gin.Context, data gin.H)
- func (e Api) Error(c *gin.Context, err error)
- func (e Api) ErrorC(c *gin.Context, code int, msg string)
- func (e Api) OK(c *gin.Context, data interface{})
- func (e Api) PageOK(c *gin.Context, result interface{}, count int64, pageIndex int, pageSize int)
- func (e Api) ParamError(c *gin.Context, err error)
- func (e *Api) ShouldBindWith(ctx *gin.Context, d interface{}, bindings ...binding.Binding) error
- type IError
- type NApi
- type ValidI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.