mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-20 23:06:08 +00:00
refactor common/net.Port
This commit is contained in:
1 parent
fa7c1069bc
commit
ae056714db
33 files changed
+86
-70
No files matched your search
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user