mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-22 17:27:12 -05:00
19 lines
303 B
Go
19 lines
303 B
Go
package json
|
|
|
|
import (
|
|
v2net "github.com/v2ray/v2ray-core/common/net"
|
|
)
|
|
|
|
type Rule struct {
|
|
Type string `json:"type"`
|
|
OutboundTag string `json:"outboundTag"`
|
|
}
|
|
|
|
func (this *Rule) Tag() string {
|
|
return this.OutboundTag
|
|
}
|
|
|
|
func (this *Rule) Apply(dest v2net.Destination) bool {
|
|
return false
|
|
}
|