Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrKeyResourceNotFound = "DefaultResourceNotFound"
)
Variables ¶
This section is empty.
Functions ¶
func GetDefault200Response ¶
func GetDefault200Response(w http.ResponseWriter, r *http.Request)
GetDefault200Response returns default 200 response to be used in cases such as Healthchecks.
TODO: Consider swapping out for https://github.com/etherlabsio/healthcheck at a later date
func GetResourceNotFoundError ¶
func GetResourceNotFoundError(w http.ResponseWriter, r *http.Request)
GetResourceNotFoundError returns default 404 response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.