16 lines
462 B
Go
16 lines
462 B
Go
package sensorconfig
|
|
|
|
import (
|
|
"encoding/json"
|
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
|
)
|
|
|
|
type Connection struct {
|
|
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
|
|
IP string `json:"ip,omitempty"`
|
|
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
|
|
Port json.Number `json:"port,Number,omitempty"`
|
|
MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"`
|
|
}
|