Registry / networking / shazow-rateio

shazow-rateio

JSON →
library0.0.0-20200113175441-4461efc8bdc4gogounverified

Package rateio provides io interfaces for rate-limiting, applicable to any io-style type.

go get github.com/shazow/rateio
INSTALL
IMPORT
SIG · SHAZOW-RATEIO
S
shazow-rateio
networkinggov0.0.0-20200113175441-4461efc8bdc4
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.

rateio
github.com/shazow/rateio

Create a rate limiter with 1024 bytes per second.

package main import ( "fmt" "github.com/shazow/rateio" ) func main() { limiter := rateio.NewLimiter(1024) fmt.Println(limiter) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200113175441-4461efc8bdc4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
4
OpenAI (training)
1
Resources
shazow-rateio — go get shazow-rateio · libregistry