Documentation ¶
Index ¶
- func Api(ctx *gin.Context, data interface{}, err error) (abort error)
- func Json(ctx *gin.Context, data interface{}, err error) (abort error)
- func Redirect(ctx *gin.Context, url string, err error) (abort error)
- func Stream(ctx *gin.Context, messages chan string, err error) (abort error)
- func StringToCSS(ctx *gin.Context, data string, err error) (abort error)
- func StringToHTML(ctx *gin.Context, data string, err error) (abort error)
- func StringToJS(ctx *gin.Context, data string, err error) (abort error)
- func Text(ctx *gin.Context, data string, err error) (abort error)
- type ApiData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToCSS ¶ added in v0.0.52
func StringToHTML ¶ added in v0.0.52
func StringToJS ¶ added in v0.0.52
Types ¶
Click to show internal directories.
Click to hide internal directories.