This commit is contained in:
crusader 2017-12-13 19:17:03 +09:00
parent 7bd66d6dab
commit fa6d6712af

View File

@ -1,8 +1,10 @@
package model
import "encoding/json"
type Connection struct {
IP string `json:"ip,omitempty"`
Port string `json:"port,omitempty"`
Port json.Number `json:"port,Number,omitempty"`
PortType string `json:"portType,omitempty"`
SSL bool `json:"ssl,omitempty"`
}