diff options
Diffstat (limited to 'vendor/github.com/labstack/echo/middleware/middleware.go')
-rw-r--r-- | vendor/github.com/labstack/echo/middleware/middleware.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/labstack/echo/middleware/middleware.go b/vendor/github.com/labstack/echo/middleware/middleware.go new file mode 100644 index 00000000..7edccc1d --- /dev/null +++ b/vendor/github.com/labstack/echo/middleware/middleware.go @@ -0,0 +1,14 @@ +package middleware + +import "github.com/labstack/echo" + +type ( + // Skipper defines a function to skip middleware. Returning true skips processing + // the middleware. + Skipper func(c echo.Context) bool +) + +// DefaultSkipper returns false which processes the middleware. +func DefaultSkipper(c echo.Context) bool { + return false +} |