Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware implements all the REST middleware methods.
func (*Middleware) AccessLogger ¶
func (m *Middleware) AccessLogger(next echo.HandlerFunc) echo.HandlerFunc
AccessLogger middleware handles access logging.
func (*Middleware) CORS ¶
func (m *Middleware) CORS(next echo.HandlerFunc) echo.HandlerFunc
CORS is a Cross-Origin Resource Sharing (CORS) middleware.
func (*Middleware) Recovery ¶
func (m *Middleware) Recovery(next echo.HandlerFunc) echo.HandlerFunc
Recovery is a panic recovery middleware.
func (*Middleware) Secure ¶
func (m *Middleware) Secure(next echo.HandlerFunc) echo.HandlerFunc
Secure defends against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks.
Click to show internal directories.
Click to hide internal directories.