Back to godoc.org

Package ratelimit

v0.21.1
Latest Go to latest
Published: Jan 29, 2019 | License: Apache-2.0 | Module: github.com/partitio/go-plugins

Index

Package Files

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