5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-02-07 01:06:17 +00:00
2017-02-18 23:11:48 +01:00

15 lines
326 B
Go

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
}