1
0
Fork 0

fix: nodes no longer beg to be kept alive

This commit is contained in:
Arthur K. 2026-01-19 22:50:12 +03:00
parent 7c4154a459
commit a32b0f728e
Signed by: wzray
GPG key ID: B97F30FDC4636357
12 changed files with 146 additions and 62 deletions

View file

@ -0,0 +1,16 @@
package registry
import "git.wzray.com/homelab/hivemind/internal/types"
type Event int
const (
EventNodeJoin Event = iota
EventNodeLeave
EventSet
)
type RegistryEvent struct {
Event Event
Nodes map[string]types.Node
}