ratelimit

package
v0.0.50-alpha.111 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

rate limit

Using bbr algorithm

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLimitExceeded = errors.New("ratelimit: limit exceeded")
)

Functions

This section is empty.

Types

type DoneFunc

type DoneFunc func(DoneInfo)

type DoneInfo

type DoneInfo struct {
	Err error
}

type Limiter

type Limiter interface {
	Allow() (DoneFunc, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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