Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/envoyproxy/ratelimit
/ types & classes
Types & classes
79 in github.com/envoyproxy/ratelimit
⨍
Functions
294
◇
Types & classes
79
↓ 3 callers
TypeAlias
RateLimitConfigError
Errors that may be raised during config parsing.
src/config/config.go:16
↓ 2 callers
TypeAlias
RedisError
Errors that may be raised during config parsing.
src/redis/driver.go:4
↓ 1 callers
TypeAlias
serviceError
src/service/ratelimit.go:91
Interface
Connection
Interface for a redis connection.
src/redis/driver.go:22
Struct
HealthChecker
src/server/health.go:14
Interface
JitterRandSource
Interface for a rand Source for expiration jitter.
src/redis/cache.go:16
Struct
MockConnection
Mock of Connection interface
test/mocks/redis/redis.go:85
Struct
MockIFace
MockIFace is a mock of IFace interface
test/mocks/runtime/loader/loader.go:14
Struct
MockIFace
MockIFace is a mock of IFace interface
test/mocks/runtime/snapshot/snapshot.go:15
Struct
MockIFaceMockRecorder
MockIFaceMockRecorder is the mock recorder for MockIFace
test/mocks/runtime/loader/loader.go:20
Struct
MockIFaceMockRecorder
MockIFaceMockRecorder is the mock recorder for MockIFace
test/mocks/runtime/snapshot/snapshot.go:21
Struct
MockJitterRandSource
Mock of JitterRandSource interface
test/mocks/redis/redis.go:191
Struct
MockPool
Mock of Pool interface
test/mocks/redis/redis.go:46
Struct
MockRateLimitCache
Mock of RateLimitCache interface
test/mocks/redis/redis.go:15
Struct
MockRateLimitConfig
MockRateLimitConfig is a mock of RateLimitConfig interface
test/mocks/config/config.go:17
Struct
MockRateLimitConfigLoader
MockRateLimitConfigLoader is a mock of RateLimitConfigLoader interface
test/mocks/config/config.go:64
Struct
MockRateLimitConfigLoaderMockRecorder
MockRateLimitConfigLoaderMockRecorder is the mock recorder for MockRateLimitConfigLoader
test/mocks/config/config.go:70
Struct
MockRateLimitConfigMockRecorder
MockRateLimitConfigMockRecorder is the mock recorder for MockRateLimitConfig
test/mocks/config/config.go:23
Struct
MockResponse
Mock of Response interface
test/mocks/redis/redis.go:129
Struct
MockTimeSource
Mock of TimeSource interface
test/mocks/redis/redis.go:160
FuncType
Option
func(*Settings)
src/settings/settings.go:37
Interface
Pool
Interface for a redis connection pool.
src/redis/driver.go:11
Struct
RateLimit
Defines an actual rate limit in terms of requests per unit of time and the unit itself.
proto/ratelimit/ratelimit.pb.go:258
Struct
RateLimit
Wrapper for an individual rate limit config entry which includes the defined limit and stats.
src/config/config.go:31
Interface
RateLimitCache
Interface for interacting with a cache backend for rate limiting.
src/redis/cache.go:24
Interface
RateLimitConfig
Interface for interacting with a loaded rate limit config.
src/config/config.go:38
Interface
RateLimitConfigLoader
Interface for loading a configuration from a list of YAML files.
src/config/config.go:57
Struct
RateLimitConfigToLoad
Information for a config file to load into the aggregate config.
src/config/config.go:51
Struct
RateLimitDescriptor
A RateLimitDescriptor is a list of hierarchical entries that are used by the service to determine the final rate limit key and overall allowed limit.
proto/ratelimit/ratelimit.pb.go:173
Struct
RateLimitDescriptor_Entry
proto/ratelimit/ratelimit.pb.go:211
Interface
RateLimitLegacyServiceServer
src/service/ratelimit_legacy.go:11
Struct
RateLimitRequest
Main message for a rate limit request. The rate limit service is designed to be fully generic in the sense that it can operate on arbitrary hierarchic
proto/ratelimit/ratelimit.pb.go:91
Struct
RateLimitResponse
A response from a ShouldRateLimit call.
proto/ratelimit/ratelimit.pb.go:305
TypeAlias
RateLimitResponse_Code
proto/ratelimit/ratelimit.pb.go:58
Struct
RateLimitResponse_DescriptorStatus
proto/ratelimit/ratelimit.pb.go:356
Interface
RateLimitServiceClient
Client API for RateLimitService service
proto/ratelimit/ratelimit.pb.go:434
Interface
RateLimitServiceServer
Server API for RateLimitService service
proto/ratelimit/ratelimit.pb.go:458
Interface
RateLimitServiceServer
src/service/ratelimit.go:43
Struct
RateLimitStats
Stats for an individual rate limit config entry.
src/config/config.go:23
TypeAlias
RateLimit_Unit
please upgrade the proto package
proto/ratelimit/ratelimit.pb.go:26
Interface
Response
Interface for a redis response.
src/redis/driver.go:35
Struct
Runner
src/service_cmd/runner/runner.go:24
Interface
Server
src/server/server.go:11
Struct
Settings
src/settings/settings.go:8
Struct
TestStatSink
test/common/common.go:11
Interface
TimeSource
Interface for a time source.
src/redis/cache.go:10
Struct
_MockConnectionRecorder
Recorder for MockConnection (not exported)
test/mocks/redis/redis.go:91
Struct
_MockJitterRandSourceRecorder
Recorder for MockJitterRandSource (not exported)
test/mocks/redis/redis.go:197
Struct
_MockPoolRecorder
Recorder for MockPool (not exported)
test/mocks/redis/redis.go:52
Struct
_MockRateLimitCacheRecorder
Recorder for MockRateLimitCache (not exported)
test/mocks/redis/redis.go:21
Struct
_MockResponseRecorder
Recorder for MockResponse (not exported)
test/mocks/redis/redis.go:135
Struct
_MockTimeSourceRecorder
Recorder for MockTimeSource (not exported)
test/mocks/redis/redis.go:166
Struct
barrier
test/service/ratelimit_test.go:22
Struct
cacheKey
src/redis/cache_impl.go:102
Struct
connectionImpl
src/redis/driver_impl.go:33
Struct
descriptorValue
src/client_cmd/main.go:16
Struct
legacyService
legacyService is used to implement ratelimit.proto (https://github.com/envoyproxy/ratelimit/blob/0ded92a2af8261d43096eba4132e45b99a3b8b14/proto/rateli
src/service/ratelimit_legacy.go:17
Struct
localCacheStats
src/redis/local_cache_stats.go:8
Struct
lockedSource
rand for jitter.
src/redis/cache_impl.go:322
Struct
poolImpl
src/redis/driver_impl.go:28
Struct
poolStats
src/redis/driver_impl.go:14
Struct
rateLimitCacheImpl
src/redis/cache_impl.go:20
Struct
rateLimitConfigImpl
src/config/config_impl.go:41
Struct
rateLimitConfigLoaderImpl
src/config/config_impl.go:303
Struct
rateLimitDescriptor
src/config/config_impl.go:32
Struct
rateLimitDomain
src/config/config_impl.go:37
Struct
rateLimitServiceClient
proto/ratelimit/ratelimit.pb.go:439
Struct
rateLimitServiceTestSuite
test/service/ratelimit_test.go:49
Struct
responseImpl
src/redis/driver_impl.go:38
Struct
server
src/server/server_impl.go:37
Struct
serverDebugListener
src/server/server_impl.go:31
Struct
service
src/service/ratelimit.go:49
Struct
serviceStats
src/service/ratelimit.go:29
Struct
shouldRateLimitLegacyStats
src/service/ratelimit_legacy.go:22
Struct
shouldRateLimitStats
src/service/ratelimit.go:17
Struct
timeSourceImpl
src/redis/cache_impl.go:311
Struct
yamlDescriptor
src/config/config_impl.go:20
Struct
yamlRateLimit
src/config/config_impl.go:15
Struct
yamlRoot
src/config/config_impl.go:27