mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-12 08:42:01 +08:00
17 lines
403 B
Go
17 lines
403 B
Go
|
package config
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
var (
|
||
|
CircuitBreakerConfigDir = "/etc/s3"
|
||
|
CircuitBreakerConfigFile = "circuit_breaker.json"
|
||
|
AllowedActions = []string{"Read", "Write", "List", "Tagging", "Admin"}
|
||
|
LimitTypeCount = "count"
|
||
|
LimitTypeBytes = "bytes"
|
||
|
Separator = ":"
|
||
|
)
|
||
|
|
||
|
func Concat(elements ...string) string {
|
||
|
return strings.Join(elements, Separator)
|
||
|
}
|