blob: 7edccc1d7397e15bd7075e66d5b114e1ee3a57fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}
|