feat: add additional routes from defined directory

This commit is contained in:
Jonas Kaninda
2024-11-18 08:50:49 +01:00
parent 0b5e11a5dd
commit a9d365daa4
9 changed files with 137 additions and 13 deletions

View File

@@ -168,3 +168,8 @@ type Redis struct {
Addr string `yaml:"addr"`
Password string `yaml:"password"`
}
type ExtraRouteConfig struct {
Directory string `yaml:"directory"`
Watch bool `yaml:"watch"`
}