mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
19 lines
439 B
Go
19 lines
439 B
Go
package s3_constants
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
var (
|
|
CircuitBreakerConfigDir = "/etc/s3"
|
|
CircuitBreakerConfigFile = "circuit_breaker.json"
|
|
AllowedActions = []string{ACTION_READ, ACTION_WRITE, ACTION_LIST, ACTION_TAGGING, ACTION_ADMIN}
|
|
LimitTypeCount = "count"
|
|
LimitTypeBytes = "bytes"
|
|
Separator = ":"
|
|
)
|
|
|
|
func Concat(elements ...string) string {
|
|
return strings.Join(elements, Separator)
|
|
}
|