Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoContent = NewHttpError(http.StatusNoContent, "No content")
Constante para o erro "no content"
Functions ¶
func HandleError ¶
func HandleError(w http.ResponseWriter, err HttpError)
func IsNoContentError ¶
IsNoContentError verifica se o erro é relacionado a "no content"
func RespondWithError ¶
func RespondWithError(w http.ResponseWriter, statusCode int, message string, IncludeStatus bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.