[agent-go] 开始使用GO重构Agent部分
This commit is contained in:
33
server-go/entity/ServerInfo.go
Normal file
33
server-go/entity/ServerInfo.go
Normal file
@@ -0,0 +1,33 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type ServerInfo struct {
|
||||
gorm.Model
|
||||
|
||||
ServerName string `grom:type`
|
||||
TopicName string
|
||||
ServerIPPublicV4 string
|
||||
ServerIPInnerV4 string
|
||||
ServerIPPublicV6 string
|
||||
ServerIPInnerV6 string
|
||||
ProxyType uint
|
||||
Location string
|
||||
Provider string
|
||||
ManagePort string
|
||||
CpuBrand string
|
||||
CpuCore string
|
||||
MemoryTotal string
|
||||
DiskTotal string
|
||||
DiskUsage string
|
||||
IoSpeed string
|
||||
TcpControl string
|
||||
Virtualization string
|
||||
OsInfo string
|
||||
OsKernelInfo string
|
||||
MachineId string
|
||||
Comment string
|
||||
Version uint
|
||||
}
|
||||
Reference in New Issue
Block a user