ratelimiter

package
v2.0.0-...-29d9702 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 12 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