Files
opencloud/config/example.json
Alex Unger c16003d47e Load config from Viper on Before hook (#51)
* abstract ParseConfig to its own scope

* remove hardcoded values

* parse config from root if present

* update example.json

* fix linter

* code style
2020-03-17 17:48:25 +01:00

21 lines
362 B
JSON

{
"debug": {
"addr": "0.0.0.0:9134",
"token": "",
"pprof": false,
"zpages": false
},
"http": {
"addr": "0.0.0.0:9130",
"root": "/",
"tls": true
},
"tracing": {
"enabled": false,
"type": "jaeger",
"endpoint": "localhost:6831",
"collector": "http://localhost:14268/api/traces",
"service": "konnectd"
}
}