mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 17:45:17 +03:00
feat: add connection manager
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user