diff --git a/internal/configuration/configuration.go b/internal/configuration/configuration.go index 8ace238..b905b2b 100644 --- a/internal/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -11,12 +11,14 @@ import ( // Configuration holds a list of process names to be tracked and a listen address. type Configuration struct { ListenOn string `yaml:"listen_on"` + HashSalt string `yaml:"hash_salt"` + WebDir string `yaml:"web_dir"` Uploads struct { Directory string `yaml:"directory"` Limits struct { - FileSize string `yaml:"file_size"` - KeepForHours int `yaml:"keep_for_hours"` - Storage string `yaml:"storage"` + FileSize int64 `yaml:"file_size"` + KeepForHours int `yaml:"keep_for_hours"` + Storage int64 `yaml:"storage"` } `yaml:"limits"` } `yaml:"uploads"` }