Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendError ¶
func SendError(w http.ResponseWriter, statusCode int, code, message string)
SendError sends an error response
func SendSuccess ¶
func SendSuccess(w http.ResponseWriter, statusCode int, data interface{})
SendSuccess sends a success response with data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.