Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONError ¶
func JSONError(w http.ResponseWriter, err interface{}, details, jobId string, code int)
JSONError writes an error response to the client in JSON format
func JSONResponse ¶
func JSONResponse(w http.ResponseWriter, details, jobId string, code int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.