Versions in this module Expand all Collapse all v0 v0.2.0 Feb 26, 2024 Changes in this version + const Name + var File_plugins_limit_count_redis_config_proto protoreflect.FileDescriptor + type Config struct + EnableLimitQuotaHeaders bool + FailureModeDeny bool + Password string + RateLimitedStatus v1.StatusCode + Rules []*Rule + Source isConfig_Source + StatusOnError v1.StatusCode + Tls bool + TlsSkipVerify bool + Username string + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (m *Config) GetSource() isConfig_Source + func (m *Config) Validate() error + func (m *Config) ValidateAll() error + func (x *Config) GetAddress() string + func (x *Config) GetEnableLimitQuotaHeaders() bool + func (x *Config) GetFailureModeDeny() bool + func (x *Config) GetPassword() string + func (x *Config) GetRateLimitedStatus() v1.StatusCode + func (x *Config) GetRules() []*Rule + func (x *Config) GetStatusOnError() v1.StatusCode + func (x *Config) GetTls() bool + func (x *Config) GetTlsSkipVerify() bool + func (x *Config) GetUsername() string + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type ConfigMultiError []error + func (m ConfigMultiError) AllErrors() []error + func (m ConfigMultiError) Error() string + type ConfigValidationError struct + func (e ConfigValidationError) Cause() error + func (e ConfigValidationError) Error() string + func (e ConfigValidationError) ErrorName() string + func (e ConfigValidationError) Field() string + func (e ConfigValidationError) Key() bool + func (e ConfigValidationError) Reason() string + type Config_Address struct + Address string + type Limiter struct + type Rule struct + Count uint32 + Key string + TimeWindow *durationpb.Duration + func (*Rule) Descriptor() ([]byte, []int) + func (*Rule) ProtoMessage() + func (m *Rule) Validate() error + func (m *Rule) ValidateAll() error + func (x *Rule) GetCount() uint32 + func (x *Rule) GetKey() string + func (x *Rule) GetTimeWindow() *durationpb.Duration + func (x *Rule) ProtoReflect() protoreflect.Message + func (x *Rule) Reset() + func (x *Rule) String() string + type RuleMultiError []error + func (m RuleMultiError) AllErrors() []error + func (m RuleMultiError) Error() string + type RuleValidationError struct + func (e RuleValidationError) Cause() error + func (e RuleValidationError) Error() string + func (e RuleValidationError) ErrorName() string + func (e RuleValidationError) Field() string + func (e RuleValidationError) Key() bool + func (e RuleValidationError) Reason() string