1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-05 17:57:42 -05:00
v2fly/app/router/rules/json/rules.go

19 lines
303 B
Go
Raw Normal View History

2015-11-22 06:05:21 -05:00
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
2015-11-22 06:05:21 -05:00
}
func (this *Rule) Apply(dest v2net.Destination) bool {
return false
}