Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertLegacyRequest ¶ added in v1.1.0
func ConvertLegacyRequest(legacyRequest *pb_legacy.RateLimitRequest) (*pb.RateLimitRequest, error)
func ConvertResponse ¶ added in v1.1.0
func ConvertResponse(response *pb.RateLimitResponse) (*pb_legacy.RateLimitResponse, error)
Types ¶
type RateLimitLegacyServiceServer ¶ added in v1.1.0
type RateLimitLegacyServiceServer interface { pb_legacy.RateLimitServiceServer }
type RateLimitServiceServer ¶
type RateLimitServiceServer interface { pb.RateLimitServiceServer GetCurrentConfig() config.RateLimitConfig GetLegacyService() RateLimitLegacyServiceServer }
func NewService ¶
func NewService(runtime loader.IFace, cache redis.RateLimitCache, configLoader config.RateLimitConfigLoader, stats stats.Scope) RateLimitServiceServer
Click to show internal directories.
Click to hide internal directories.