2017-12-04 06:50:11 +00:00
|
|
|
package model
|
|
|
|
|
2017-12-13 10:17:03 +00:00
|
|
|
import "encoding/json"
|
|
|
|
|
2017-12-04 06:50:11 +00:00
|
|
|
type Connection struct {
|
2017-12-13 10:17:03 +00:00
|
|
|
IP string `json:"ip,omitempty"`
|
|
|
|
Port json.Number `json:"port,Number,omitempty"`
|
|
|
|
PortType string `json:"portType,omitempty"`
|
|
|
|
SSL bool `json:"ssl,omitempty"`
|
2017-12-04 06:50:11 +00:00
|
|
|
}
|