11 lines
258 B
Go
11 lines
258 B
Go
package model
|
|
|
|
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"`
|
|
}
|