Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GinConfig *commonGin.GinConfig = &commonGin.GinConfig{}
Functions ¶
func AutoRender ¶
func AutoRender(w http.ResponseWriter, data interface{}, err error)
func RenderDataJson ¶
func RenderDataJson(w http.ResponseWriter, data interface{})
func RenderJson ¶
func RenderJson(w http.ResponseWriter, v interface{})
func RenderMsgJson ¶
func RenderMsgJson(w http.ResponseWriter, msg string)
Types ¶
Click to show internal directories.
Click to hide internal directories.