Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorStatus ¶
func ErrorStatus(message string, httpStatusCode int, w http.ResponseWriter, err error)
ErrorStatus is a useful function that will log, write http headers and body for a give message, status code and err
Types ¶
Click to show internal directories.
Click to hide internal directories.