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