limithandler

package
v0.0.0-...-ff54a84 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIngressLimiter

func GetIngressLimiter(ingress v1.Ingress) *limiter.Limiter

func GetRedisClient

func GetRedisClient(redisUrl string) (*redis.Client, error)

func IsLimited

func IsLimited(ingressLimiter *limiter.Limiter, ingressAnnotations map[string]string, ip, path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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