add option to enable api server

This commit is contained in:
Joel Wetzell
2026-03-17 19:03:43 -05:00
parent 9c03ad2c14
commit 3d664fff67
4 changed files with 14 additions and 1 deletions

View File

@@ -7,7 +7,8 @@ type Config struct {
}
type ApiConfig struct {
Port int `json:"port"`
Enabled bool `json:"enabled"`
Port int `json:"port"`
}
type ModuleConfig struct {
Id string `json:"id"`