Registry / utility / gigawattio-window

gigawattio-window

JSON →
library0.0.0-20180317192513-0f5467e35573gogounverified

A Go package for sliding window rate limiting.

go get github.com/gigawattio/window
INSTALL
IMPORT
SIG · GIGAWATTIO-WINDOW
G
gigawattio-window
utilitygov0.0.0-20180317192513-0f5467e35573
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.

window
github.com/gigawattio/window

Creates a sliding window rate limiter.

package main import ( "fmt" "github.com/gigawattio/window" ) func main() { w := window.New(10, 1) fmt.Println(w.Allow()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180317192513-0f5467e35573latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
gigawattio-window — go get gigawattio-window · libregistry