Back to

Package ratelimit

Latest Go to latest

The highest tagged major version is .

Published: Jan 29, 2019 | License: Apache-2.0 | Module:


func NewClientWrapper

func NewClientWrapper(rate int) client.Wrapper

NewClientWrapper creates a blocking side rate limiter

func NewHandlerWrapper

func NewHandlerWrapper(rate int) server.HandlerWrapper

NewHandlerWrapper creates a blocking server side rate limiter

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier