middleware

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RateLimiter added in v1.1.0

type RateLimiter struct {
	// contains filtered or unexported fields
}

func NewRateLimiter added in v1.1.0

func NewRateLimiter(cfg config.RateLimitConfig) *RateLimiter

func (*RateLimiter) AdminMiddleware added in v1.1.0

func (rl *RateLimiter) AdminMiddleware(next http.HandlerFunc) http.HandlerFunc

func (*RateLimiter) RegisterMiddleware added in v1.1.0

func (rl *RateLimiter) RegisterMiddleware(next http.HandlerFunc) http.HandlerFunc

func (*RateLimiter) SnapshotMiddleware added in v1.1.0

func (rl *RateLimiter) SnapshotMiddleware(next http.HandlerFunc) http.HandlerFunc

func (*RateLimiter) Stop added in v1.1.0

func (rl *RateLimiter) Stop()

Jump to

Keyboard shortcuts

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