Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORS ¶
func CORS() echo.MiddlewareFunc
CORS configures echo to accept requests from scripts from domains different than the API will be served from
func NotFoundHandler ¶
func NotFoundHandler(cfg *config.Config) echo.MiddlewareFunc
NotFoundHandler returns a middleware that returns a 404 status code for unmatched routes
func Secure ¶
func Secure() echo.MiddlewareFunc
Secure middleware configures echo with secure headers
Types ¶
type ResponseError ¶
Click to show internal directories.
Click to hide internal directories.