ratelimit

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Types

This section is empty.

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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