v2ray-core/app/router/rules/config/rules.go

12 lines
208 B
Go
Raw Normal View History

2015-11-22 11:05:21 +00:00
package config
2015-11-21 20:43:40 +00:00
import (
"github.com/v2ray/v2ray-core/app/point/config"
v2net "github.com/v2ray/v2ray-core/common/net"
)
type Rule interface {
2015-11-22 16:41:52 +00:00
Tag() config.DetourTag
2015-11-21 20:43:40 +00:00
Apply(dest v2net.Destination) bool
}