1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-12 23:18:36 -04:00
v2fly/app/router/rules/config/rules.go
2015-11-29 14:45:32 +01:00

12 lines
210 B
Go

package config
import (
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/shell/point/config"
)
type Rule interface {
Tag() config.DetourTag
Apply(dest v2net.Destination) bool
}