Documentation
¶
Index ¶
- func WriteInternalErrorJSONResponse(w http.ResponseWriter, err error)
- func WriteInvalidJSONResponse(w http.ResponseWriter, err error)
- func WriteJSONResponse(w http.ResponseWriter, statusCode int, jsonObj interface{})
- func WriteStatusAcceptedResponse(w http.ResponseWriter)
- func WriteStatusCreatedResponse(w http.ResponseWriter)
- type HandlerError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteInternalErrorJSONResponse ¶
func WriteInternalErrorJSONResponse(w http.ResponseWriter, err error)
func WriteInvalidJSONResponse ¶
func WriteInvalidJSONResponse(w http.ResponseWriter, err error)
func WriteJSONResponse ¶
func WriteJSONResponse(w http.ResponseWriter, statusCode int, jsonObj interface{})
func WriteStatusAcceptedResponse ¶
func WriteStatusAcceptedResponse(w http.ResponseWriter)
func WriteStatusCreatedResponse ¶
func WriteStatusCreatedResponse(w http.ResponseWriter)
Types ¶
Source Files
¶
- cf_handlers.go
- package.go
Click to show internal directories.
Click to hide internal directories.