Add rule-set match command

This commit is contained in:
世界 2024-03-24 19:23:11 +08:00
parent 8a9a77a438
commit d612620c5d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 97 additions and 7 deletions

View file

@ -71,6 +71,7 @@ func RouterFromContext(ctx context.Context) Router {
type HeadlessRule interface {
Match(metadata *InboundContext) bool
String() string
}
type Rule interface {
@ -79,7 +80,6 @@ type Rule interface {
Type() string
UpdateGeosite() error
Outbound() string
String() string
}
type DNSRule interface {