2018-04-26 07:37:59 +00:00
|
|
|
package sensorconfig
|
2018-04-12 09:38:04 +00:00
|
|
|
|
2018-04-26 07:53:29 +00:00
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
2018-06-12 09:18:11 +00:00
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
2018-04-26 07:53:29 +00:00
|
|
|
)
|
2018-04-12 09:38:04 +00:00
|
|
|
|
|
|
|
type Connection struct {
|
2018-06-13 11:14:53 +00:00
|
|
|
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
|
2018-06-12 13:13:22 +00:00
|
|
|
IP string `json:"ip,omitempty"`
|
|
|
|
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
|
2018-06-13 11:14:53 +00:00
|
|
|
Port json.Number `json:"port,Number,omitempty"`
|
2018-06-12 13:13:22 +00:00
|
|
|
MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
}
|