1
0
Fork 0

feat: initial release

This commit is contained in:
Arthur K. 2026-01-17 18:14:50 +03:00
parent a3cf21f5bd
commit 761174d035
Signed by: wzray
GPG key ID: B97F30FDC4636357
41 changed files with 2008 additions and 217 deletions

View file

@ -0,0 +1,13 @@
package registry
import "git.wzray.com/homelab/mastermind/internal/types"
type Storage interface {
Save(*storedConfig) error
Load(*storedConfig) error
}
type storedConfig struct {
LastUpdate int64 `json:"last_update"`
Nodes map[string]types.Node `json:"nodes"`
}