This commit is contained in:
crusader 2018-06-13 20:14:53 +09:00
parent 846c510a1a
commit fc48f5981a
2 changed files with 3 additions and 2 deletions

2
Gopkg.lock generated
View File

@ -39,7 +39,7 @@
"encoding/json", "encoding/json",
"reflect" "reflect"
] ]
revision = "1966a985759721fd451171a78a0b8f4524afc644" revision = "4d4017d214d2a8fdde59d774254f421991fabe7e"
[[projects]] [[projects]]
name = "github.com/BurntSushi/toml" name = "github.com/BurntSushi/toml"

View File

@ -7,8 +7,9 @@ import (
) )
type Connection struct { type Connection struct {
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
IP string `json:"ip,omitempty"` IP string `json:"ip,omitempty"`
Port json.Number `json:"port,Number,omitempty"`
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"` MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
Port json.Number `json:"port,Number,omitempty"`
MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"` MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"`
} }