Handle settings
This commit is contained in:
parent
9b91d1857f
commit
d79e31f673
7 changed files with 208 additions and 56 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue