commons-go/model/sensorconfig/Connection.go
crusader fc48f5981a ing
2018-06-13 20:14:53 +09:00

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"`
}