1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 09:17:32 -05:00
v2fly/app/router/rules/config.go
2015-12-07 22:47:47 +01:00

15 lines
202 B
Go

package rules
import (
v2net "github.com/v2ray/v2ray-core/common/net"
)
type Rule interface {
Tag() string
Apply(dest v2net.Destination) bool
}
type RouterRuleConfig interface {
Rules() []Rule
}