1 Star 2 Fork 0

api-go/iris

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
not_satisfied.go 384 Bytes
Copy Edit Raw Blame History
package rule
import (
"github.com/kataras/iris/context"
)
type notSatisfiedRule struct{}
var _ Rule = &notSatisfiedRule{}
// NotSatisfied returns a rule which allows nothing
func NotSatisfied() Rule {
return &notSatisfiedRule{}
}
func (n *notSatisfiedRule) Claim(context.Context) bool {
return false
}
func (n *notSatisfiedRule) Valid(context.Context) bool {
return false
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/netscript/iris.git
git@gitee.com:netscript/iris.git
netscript
iris
iris
v8.5.9

Search