Start work on media storage

This commit is contained in:
Melody Becker 2024-11-21 14:45:25 +01:00
parent bf8d272122
commit 9acecfd7f6
10 changed files with 110 additions and 48 deletions

View file

@ -71,10 +71,12 @@ type ConfigStorage struct {
}
type ConfigS3 struct {
KeyId string `toml:"key_id"`
Secret string `toml:"secret"`
Region string `toml:"region"`
Endpoint string `toml:"endpoint"`
KeyId string `toml:"key_id"`
Secret string `toml:"secret"`
Region string `toml:"region"`
Endpoint string `toml:"endpoint"`
UseSSL bool `toml:"use_ssl"`
BucketName string `toml:"bucket_name"`
}
type ConfigMail struct {
@ -164,6 +166,7 @@ var defaultConfig Config = Config{
Secret: "Example key secret",
Region: "Example region",
Endpoint: "http://localhost:3900",
UseSSL: false,
},
}