diff --git a/Gopkg.lock b/Gopkg.lock index bbb000a..760a621 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -39,7 +39,7 @@ "encoding/json", "reflect" ] - revision = "1966a985759721fd451171a78a0b8f4524afc644" + revision = "4d4017d214d2a8fdde59d774254f421991fabe7e" [[projects]] name = "github.com/BurntSushi/toml" diff --git a/model/sensorconfig/Connection.go b/model/sensorconfig/Connection.go index 64f7710..e47689e 100644 --- a/model/sensorconfig/Connection.go +++ b/model/sensorconfig/Connection.go @@ -7,8 +7,9 @@ import ( ) type Connection struct { + MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"` IP string `json:"ip,omitempty"` - Port json.Number `json:"port,Number,omitempty"` MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"` + Port json.Number `json:"port,Number,omitempty"` MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"` }