feat: add connection manager

This commit is contained in:
2026-05-17 12:37:51 +03:00
parent 5b297d5c1f
commit bef8409b8c
10 changed files with 181 additions and 107 deletions
@@ -17,3 +17,12 @@ type streamConn interface {
type heartbeatStore interface {
CreateHeartbeat(ctx context.Context, heartbeat domainHub.CreateHeartbeatModel) error
}
type statusAgent interface {
Offline()
Online()
}
type statusNotifier interface {
New(AgentID string) statusAgent
}