limiter

package
v1.145.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(formatted string) (*limiter.Limiter, error)

New limiter.

Types

type KeyFunc

type KeyFunc func(context.Context) fmt.Stringer

KeyFunc for the limiter.

Jump to

Keyboard shortcuts

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