ratelimiter

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package ratelimiter implements a rate limiting and traffic shaping middleware with a set of token buckets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, next http.Handler, config dynamic.RateLimit, name string) (http.Handler, error)

New returns a rate limiter middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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