9 lines
398 B
Go
9 lines
398 B
Go
package storage
|
|
|
|
type Config struct {
|
|
Type string `json:"type" yaml:"type" toml:"type"` // local, s3
|
|
LocalPath string `json:"local_path" yaml:"local_path" toml:"local_path"` // for local
|
|
Secret string `json:"secret" yaml:"secret" toml:"secret"` // for signing
|
|
BaseURL string `json:"base_url" yaml:"base_url" toml:"base_url"` // public url prefix
|
|
}
|