Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxLimits = math.MaxUint32 - 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Limiter ¶
type Limiter interface { // NewLimit creates a new limit on provided directory path. NewLimit(directory string) (uint32, error) // SetLimit sets new limit of capacityBytes on provided limitID. SetLimit(limitID uint32, capacityBytes int64) error // RemoveLimit removes a limit having limitID. RemoveLimit(limitID uint32) error }
type NoopLimiter ¶
type NoopLimiter struct { }
func (*NoopLimiter) RemoveLimit ¶
func (l *NoopLimiter) RemoveLimit(limitID uint32) error
Click to show internal directories.
Click to hide internal directories.