Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResponseInContext ¶
func GetResponseInContext(contextKey map[string]interface{}) *data.PageResponse
GetResponseInContext get response struct from context
func WriteResponse ¶
WriteResponse Write api response
func WriteUnexpectedError ¶
func WriteUnexpectedError(c *gin.Context, response *data.PageResponse)
WriteUnexpectedError Write unexpected api response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.