limit

package
v0.0.0-...-4e0ae02 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2016 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package limit provides a rate limiting HTTP handler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthUserID

func AuthUserID(r *http.Request) string

func Handler

func Handler(next, limited http.Handler, freq, burst int, f func(*http.Request) string) http.Handler

func RemoteAddrID

func RemoteAddrID(r *http.Request) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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