diff options
author | Keuin <[email protected]> | 2023-07-29 21:59:17 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2023-07-29 21:59:17 +0800 |
commit | 1e8ea437254a818452111cd52549032a6ea61f71 (patch) | |
tree | 71face8fad55e3499199a8f27a5e4807b86fa027 /config.go | |
parent | 03d9784bf682b05e3c4a46eb6cd32f4319e8636b (diff) |
Make API server endpoint configurable in config file & CLI argapi-server
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,5 +3,6 @@ package main import "github.com/keuin/slbr/recording" type GlobalConfig struct { - Tasks []recording.TaskConfig `mapstructure:"tasks"` + Tasks []recording.TaskConfig `mapstructure:"tasks"` + ApiServer string `mapstructure:"api_server"` } |