1
0
mirror of https://github.com/labstack/echo.git synced 2026-05-16 09:48:24 +02:00
Files
echo/middleware/middleware.go
T

15 lines
326 B
Go
Raw Normal View History

2016-07-27 09:34:44 -07:00
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
}