ing
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
package infra
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"git.loafle.net/overflow/commons-go/core/util"
|
||||
)
|
||||
|
||||
type InfraHost struct {
|
||||
Infra
|
||||
InfraOS *InfraOS `json:"os,omitempty"`
|
||||
IP json.Number `json:"ip,omitempty"`
|
||||
Mac json.Number `json:"mac,omitempty"`
|
||||
IP string `json:"ip,omitempty"`
|
||||
Mac string `json:"mac,omitempty"`
|
||||
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
||||
}
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
package sensorconfig
|
||||
|
||||
import "encoding/json"
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"git.loafle.net/overflow/commons-go/core/constants"
|
||||
)
|
||||
|
||||
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"`
|
||||
IP string `json:"ip,omitempty"`
|
||||
Port json.Number `json:"port,Number,omitempty"`
|
||||
PortType constants.PortType `json:"portType,omitempty"`
|
||||
SSL bool `json:"ssl,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user