Move default configs to root level

This commit is contained in:
Benedikt Kulmann
2020-11-11 17:12:14 +01:00
parent dc61b11850
commit 15df700b27
6 changed files with 55 additions and 32 deletions
+12 -6
View File
@@ -53,14 +53,20 @@ type Tracing struct {
Service string
}
// TokenManager is the config for using the reva token manager
type TokenManager struct {
JWTSecret string
}
// Config combines all available configuration parts.
type Config struct {
File string
Log Log
Debug Debug
HTTP HTTP
GRPC GRPC
Tracing Tracing
File string
Log Log
Debug Debug
HTTP HTTP
GRPC GRPC
Tracing Tracing
TokenManager TokenManager
Accounts *accounts.Config
Graph *graph.Config