commons-go/model/sensorconfig/Connection.go
crusader 24ca9c8d4b ing
2018-04-26 16:53:29 +09:00

15 lines
352 B
Go

package sensorconfig
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/constants"
)
type Connection struct {
IP string `json:"ip,omitempty"`
Port json.Number `json:"port,Number,omitempty"`
PortType constants.PortType `json:"portType,omitempty"`
SSL bool `json:"ssl,omitempty"`
}