timeratelimit

package
v1.2.115 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamClientInterceptor

func StreamClientInterceptor(r rate.Limit, b int) grpc.StreamClientInterceptor

StreamClientInterceptor returns a new streaming client interceptor that performs rate limiting on the request.

func StreamServerInterceptor

func StreamServerInterceptor(r rate.Limit, b int) grpc.StreamServerInterceptor

StreamServerInterceptor returns a new streaming server interceptor that performs rate limiting on the request.

func UnaryClientInterceptor

func UnaryClientInterceptor(r rate.Limit, b int) grpc.UnaryClientInterceptor

UnaryClientInterceptor returns a new unary client interceptor that performs request rate limiting.

func UnaryServerInterceptor

func UnaryServerInterceptor(r rate.Limit, b int) grpc.UnaryServerInterceptor

UnaryServerInterceptor returns a new unary server interceptors that performs request rate limiting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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