Documentation
¶
Index ¶
- func StreamClientInterceptor(r rate.Limit, b int) grpc.StreamClientInterceptor
- func StreamServerInterceptor(r rate.Limit, b int) grpc.StreamServerInterceptor
- func UnaryClientInterceptor(r rate.Limit, b int) grpc.UnaryClientInterceptor
- func UnaryServerInterceptor(r rate.Limit, b int) grpc.UnaryServerInterceptor
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.
Click to show internal directories.
Click to hide internal directories.