From fc48f5981af17ad64d9303b9a3f45d277875f116 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 13 Jun 2018 20:14:53 +0900 Subject: [PATCH] ing --- Gopkg.lock | 2 +- model/sensorconfig/Connection.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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"` }