Back to godoc.org

Package ratelimit

v1.5.3
Latest Go to latest

The highest tagged major version is .

Published: Dec 18, 2019 | License: Apache-2.0 | Module: github.com/quexer/go-plugins

Index

func NewClientWrapper

func NewClientWrapper(rate int, opts ...ratelimit.Option) client.Wrapper

NewClientWrapper creates a blocking side rate limiter

func NewHandlerWrapper

func NewHandlerWrapper(rate int, opts ...ratelimit.Option) 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