Registry / utility / aybabtme-iocontrol

aybabtme-iocontrol

JSON →
library0.0.0-20230712224448-9cbcdff08777gogounverified

Provides io.Writer and io.Reader implementations for measuring and throttling data transfer rates.

go get github.com/aybabtme/iocontrol
INSTALL
IMPORT
SIG · AYBABTME-IOCONTROL
A
aybabtme-iocontrol
utilitygov0.0.0-20230712224448-9cbcdff08777
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

iocontrol
github.com/aybabtme/iocontrol

Throttles output to 1 MB/s

package main import ( "io" "os" "github.com/aybabtme/iocontrol" ) func main() { throttled := iocontrol.Throttle(os.Stdout, 1024*1024) // 1 MB/s io.Copy(throttled, os.Stdin) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230712224448-9cbcdff08777latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
OpenAI (training)
2
Meta
1
Resources
aybabtme-iocontrol — go get aybabtme-iocontrol · libregistry