commons-go/model/sensorconfig/Connection.go
crusader ab936be303 ing
2018-06-12 22:13:22 +09:00

15 lines
395 B
Go

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