15 lines
368 B
Go
15 lines
368 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"`
|
|
SSL bool `json:"ssl,omitempty"`
|
|
}
|