Handle settings

This commit is contained in:
nemunaire 2022-10-05 20:16:53 +02:00
commit d79e31f673
7 changed files with 208 additions and 56 deletions

View file

@ -6,14 +6,15 @@ import (
)
type Config struct {
DevProxy string
Bind string
ExternalURL URL
BaseURL string
TracksDir string
GongsDir string
ActionsDir string
RoutinesDir string
DevProxy string
Bind string
ExternalURL URL
BaseURL string
SettingsFile string
TracksDir string
GongsDir string
ActionsDir string
RoutinesDir string
}
// parseLine treats a config line and place the read value in the variable