Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(cfg *Config, cache *ristretto.Cache, limiterID LimiterID) grpc.StreamServerInterceptor
StreamServerInterceptor for ratelimit.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(cfg *Config, cache *ristretto.Cache, limiterID LimiterID) grpc.UnaryServerInterceptor
UnaryServerInterceptor for ratelimit.
Types ¶
Click to show internal directories.
Click to hide internal directories.