expose config package

This commit is contained in:
Joel Wetzell
2026-09-07 18:43:11 -05:00
parent 176a42c7c1
commit a304b4b211
149 changed files with 150 additions and 145 deletions
+12
View File
@@ -0,0 +1,12 @@
package config
type Config struct {
Api ApiConfig `json:"api"`
Modules []ModuleConfig `json:"modules"`
Routes []RouteConfig `json:"routes"`
}
type Configurable interface {
UpdateConfig(newConfig Config, triggerChangeChannel bool) ([]ModuleError, []RouteError, error)
GetRunningConfig() Config
}