mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 19:21:03 +01:00
9f85b74fc9
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
12 lines
184 B
Go
12 lines
184 B
Go
package rule
|
|
|
|
import (
|
|
"github.com/kataras/iris/context"
|
|
)
|
|
|
|
// Rule a superset of validators
|
|
type Rule interface {
|
|
Claim(ctx context.Context) bool
|
|
Valid(ctx context.Context) bool
|
|
}
|