mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 16:45:15 +03:00
refactor: separate proto file, edit capabilities
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user