Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyHTTPCode = "http_code" Stack = "stack" )
Keys for error data in errors.
Variables ¶
View Source
var ( PreconditionFailed = wreck.New("precondition_failed").With(KeyHTTPCode, http.StatusPreconditionFailed) InvalidValue = wreck.New("invalid_value").With(KeyHTTPCode, http.StatusBadRequest) AlreadyExists = wreck.New("already_exists").With(KeyHTTPCode, http.StatusConflict) NotFound = wreck.New("not_found").With(KeyHTTPCode, http.StatusNotFound) Timeout = wreck.New("timeout").With(KeyHTTPCode, http.StatusRequestTimeout) Forbidden = wreck.New("forbidden").With(KeyHTTPCode, http.StatusForbidden) Internal = wreck.New("internal").With(KeyHTTPCode, http.StatusInternalServerError) )
Base errors.
Functions ¶
func MigrateDown ¶
MigrateDown runs the down migrations for database.
func RegisterAssetsHandler ¶
func RegisterAssetsHandler(e *echo.Echo)
RegisterAssetsHandler registers the static assets echo handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.