mirror of
https://github.com/restic/restic.git
synced 2025-08-26 09:20:26 +00:00
gs: support other regions than us
This commit is contained in:
@@ -16,13 +16,15 @@ type Config struct {
|
||||
Bucket string
|
||||
Prefix string
|
||||
|
||||
Connections uint `option:"connections" help:"set a limit for the number of concurrent connections (default: 5)"`
|
||||
Connections uint `option:"connections" help:"set a limit for the number of concurrent connections (default: 5)"`
|
||||
Region string `option:"region" help:"region to create the bucket in (default: us)"`
|
||||
}
|
||||
|
||||
// NewConfig returns a new Config with the default values filled in.
|
||||
func NewConfig() Config {
|
||||
return Config{
|
||||
Connections: 5,
|
||||
Region: "us",
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user