Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opt ¶ added in v0.7.0
type Opt interface {
// contains filtered or unexported methods
}
func SwiftMethod ¶ added in v0.7.0
type RPM ¶
type RPM interface {
// StorReq acquires storage api request rate limit based on RPM config.
StorReq(ctx context.Context, storage string, opts ...Opt) error
// StorReqN acquires n storage api requests rate limit based on RPM config.
StorReqN(ctx context.Context, storage string, n int, opts ...Opt) error
}
RPM storage rate limit based on requests per minute
Click to show internal directories.
Click to hide internal directories.