Ai
1 Star 0 Fork 1

flanche/echo

forked from guapian/echo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
middleware.go 326 Bytes
一键复制 编辑 原始数据 按行查看 历史
Vishal Rana 提交于 2016-07-28 00:34 +08:00 . Ability to skip a middleware via callback
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
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/flanche/echo.git
git@gitee.com:flanche/echo.git
flanche
echo
echo
v3.0.0-beta.1

搜索帮助