Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendError ¶
func SendError(w http.ResponseWriter, status int, err models.Error)
Utility to send error
func SendSuccess ¶
func SendSuccess(w http.ResponseWriter, data interface{})
Utility to send success
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.