Start work on media storage
This commit is contained in:
parent
bf8d272122
commit
9acecfd7f6
10 changed files with 110 additions and 48 deletions
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue