ing
This commit is contained in:
parent
7bd66d6dab
commit
fa6d6712af
|
@ -1,8 +1,10 @@
|
||||||
package model
|
package model
|
||||||
|
|
||||||
|
import "encoding/json"
|
||||||
|
|
||||||
type Connection struct {
|
type Connection struct {
|
||||||
IP string `json:"ip,omitempty"`
|
IP string `json:"ip,omitempty"`
|
||||||
Port string `json:"port,omitempty"`
|
Port json.Number `json:"port,Number,omitempty"`
|
||||||
PortType string `json:"portType,omitempty"`
|
PortType string `json:"portType,omitempty"`
|
||||||
SSL bool `json:"ssl,omitempty"`
|
SSL bool `json:"ssl,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user