ratelimit

package
v0.0.0-...-87f8fa8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerIPUnaryRateLimiter

func PerIPUnaryRateLimiter(redisPool *redis.Pool, proxyAddress, prefix, fullMethod string, maxBurst, tokens, seconds uint) grpc.UnaryServerInterceptor

func UnaryRateLimiter

func UnaryRateLimiter(redisPool *redis.Pool, prefix, fullMethod string, maxBurst, tokens, seconds uint) grpc.UnaryServerInterceptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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