nethttp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultIPExtractor

func DefaultIPExtractor(r *http.Request) string

func New

func New(limiter *distlimit.Limiter, opts ...Option) func(http.Handler) http.Handler

Types

type KeyExtractor

type KeyExtractor func(r *http.Request) string

type Option

type Option func(*config)

func WithOnExceeded

func WithOnExceeded(handler http.HandlerFunc) Option

Jump to

Keyboard shortcuts

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