Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildHeaders ¶ added in v0.1.7
func BuildHeaders(w http.ResponseWriter)
Exported function for CORS headers
func ErrorResponse ¶
func ErrorResponse(w http.ResponseWriter, status int, message string)
func NotFoundResponse ¶
func NotFoundResponse(w http.ResponseWriter, message string)
func SuccessResponse ¶
func SuccessResponse(w http.ResponseWriter, status int, resp interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.