11 lines
265 B
Go
11 lines
265 B
Go
package sensorconfig
|
|
|
|
import "encoding/json"
|
|
|
|
type Connection struct {
|
|
IP string `json:"ip,omitempty"`
|
|
Port json.Number `json:"port,Number,omitempty"`
|
|
PortType string `json:"portType,omitempty"`
|
|
SSL bool `json:"ssl,omitempty"`
|
|
}
|