refactor: optimize system updates and create systems package

- Created SystemManager to handle system lifecycle and events
- Created tests for system management operations
- Added test helpers for creating and managing test systems
- Introduced optional port configuration in system config
This commit is contained in:
henrygd
2025-03-03 23:50:19 -05:00
parent d81db6e319
commit f8a1d9fc5d
6 changed files with 1052 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ type Config struct {
type SystemConfig struct {
Name string `yaml:"name"`
Host string `yaml:"host"`
Port uint16 `yaml:"port"`
Port uint16 `yaml:"port,omitempty"`
Users []string `yaml:"users"`
}