refactor: move domain structure and mapper

This commit is contained in:
2026-04-14 19:48:16 +03:00
parent 76fe95400c
commit 0b955bb714
11 changed files with 111 additions and 58 deletions
+27
View File
@@ -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
}