mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 14:25:16 +03:00
28 lines
413 B
Go
28 lines
413 B
Go
package domain
|
|
|
|
type RegisterAgentRequest struct {
|
|
AgentId string
|
|
AgentName string
|
|
AgentVersion string
|
|
Host HostInfo
|
|
Capabilities []Capability
|
|
}
|
|
|
|
type HostInfo struct {
|
|
System string
|
|
Hostname string
|
|
Arch string
|
|
}
|
|
|
|
type Capability struct {
|
|
Available bool
|
|
Version string
|
|
Name string
|
|
Reason string
|
|
}
|
|
|
|
type RegisterAgentResponse struct {
|
|
Heartbeat int
|
|
AgentID string
|
|
}
|