package
0.0.0-20240420182116-ac96246ab101
Repository: https://github.com/f110/github-400-test.git
Documentation: pkg.go.dev
# Functions
NewMonitor returns a monitor with defaults.
NewMonitoredReader returns reference to a monitored reader that throttles reads to configured bandwidth for the bucket.
SelectBuckets will select all the buckets passed in.
# Structs
BucketBandwidthReport captures the details for all buckets.
BucketOptions represents the bucket and optionally its replication target pair.
Details for the measured bandwidth.
Monitor holds the state of the global bucket monitor.
MonitoredReader represents a throttled reader subject to bandwidth monitoring.
MonitorReaderOptions provides configurable options for monitor reader implementation.
# Type aliases
SelectionFunction for buckets.