Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_RESPONSE_CODE = http.StatusOK DEFAULT_RESPONSE_MESSAGE = "Data retrieved successfully" RESPONSE_STATUS_SUCCESS = "SUCCESS" RESPONSE_STATUS_FAILED = "FAILED" )
Variables ¶
This section is empty.
Functions ¶
func ResponseHandler ¶
func ResponseHandler(ctx *gin.Context, httpResponse HTTPResponse, data ...interface{})
Types ¶
type HTTPResponse ¶
Click to show internal directories.
Click to hide internal directories.