package
Version:
v0.0.0-...-8b29e06
Opens a new window with list of versions in this module.
Published: Aug 20, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func HtmlResponse(c *gin.Context, httpCode int, htmlfile string, errCode int, data gin.H)
-
func JsonErrResponse(c *gin.Context, errCode int)
-
func JsonOkResponse(c *gin.Context, errCode int, data interface{})
-
func JsonResponse(c *gin.Context, httpCode, errCode int, data interface{})
func JsonOkResponse(c *gin.Context, errCode int, data interface{})
func JsonResponse(c *gin.Context, httpCode, errCode int, data interface{})
Response setting gin.JSON
Source Files
¶
Click to show internal directories.
Click to hide internal directories.