Documentation ¶
Overview ¶
Package statusimpl implements the status component interface
Package statusimpl implements the status component interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetJSONError ¶ added in v0.56.0
func SetJSONError(w http.ResponseWriter, err error, errorCode int)
SetJSONError writes a server error as JSON with the correct http error code
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.