add config for filesystem storage

This commit is contained in:
David Christofas
2020-03-09 16:01:20 +01:00
parent f55199f01b
commit 975387822b
4 changed files with 27 additions and 12 deletions
+11 -5
View File
@@ -33,11 +33,17 @@ type Tracing struct {
// Config combines all available configuration parts.
type Config struct {
File string
Log Log
Debug Debug
HTTP HTTP
Tracing Tracing
File string
Log Log
Debug Debug
HTTP HTTP
Tracing Tracing
FilesystemStorage FilesystemStorage
}
// FilesystemStorage defines the available filesystem storage configuration.
type FilesystemStorage struct {
RootDirectory string
}
// New initializes a new configuration with or without defaults.