refactor common/net.Port

This commit is contained in:
Darien Raymond committed 2015-12-02 20:44:01 +00:00
1 parent fa7c1069bc
commit ae056714db
33 files changed
+86 -70

No files matched your search

+2 -1
View File
@@ -1,13 +1,14 @@
package json
import (
v2net "github.com/v2ray/v2ray-core/common/net"
v2netjson "github.com/v2ray/v2ray-core/common/net/json"
"github.com/v2ray/v2ray-core/proxy/common/config/json"
)
type DokodemoConfig struct {
Host string `json:"address"`
Port int `json:"port"`
Port v2net.Port `json:"port"`
Network *v2netjson.NetworkList `json:"network"`
Timeout int `json:"timeout"`
}