remove DetourTag and add more test cases

This commit is contained in:
Darien Raymond committed 2015-11-30 15:14:38 +00:00
1 parent f6c486327f
commit 56a79a2190
10 files changed
+60 -22

No files matched your search

+2 -3
View File
@@ -4,7 +4,6 @@ import (
"encoding/json"
proxyconfig "github.com/v2ray/v2ray-core/proxy/common/config"
"github.com/v2ray/v2ray-core/shell/point/config"
)
type OutboundDetourConfig struct {
@@ -17,8 +16,8 @@ func (this *OutboundDetourConfig) Protocol() string {
return this.ProtocolValue
}
func (this *OutboundDetourConfig) Tag() config.DetourTag {
return config.DetourTag(this.TagValue)
func (this *OutboundDetourConfig) Tag() string {
return this.TagValue
}
func (this *OutboundDetourConfig) Settings() interface{} {