mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-12 23:18:36 -04:00
12 lines
208 B
Go
12 lines
208 B
Go
|
package rules
|
||
|
|
||
|
import (
|
||
|
"github.com/v2ray/v2ray-core/app/point/config"
|
||
|
v2net "github.com/v2ray/v2ray-core/common/net"
|
||
|
)
|
||
|
|
||
|
type Rule interface {
|
||
|
Tag() *config.DetourTag
|
||
|
Apply(dest v2net.Destination) bool
|
||
|
}
|