ratelimit

package module
v3.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 116

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL