mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-05-07 10:05:54 +00:00
13 lines
313 B
Go
13 lines
313 B
Go
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) (error, []ModuleError, []RouteError)
|
|
GetRunningConfig() Config
|
|
}
|