Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GuardMiddleware ¶
func GuardMiddleware(next echo.HandlerFunc) echo.HandlerFunc
func OriginInspectSkipper ¶
OriginInspectSkipper verifies the request context and skip the origin verification. It's useful to allow access for any origin when a route (e.g. public images routes) should be accessed by anyone.
func VerifyOrigin ¶
VerifyOrigin verifies if the request origin is included on the defined server allowed hosts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.