Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowLimiter ¶
type FlowLimiter struct {
// contains filtered or unexported fields
}
func NewFlowLimiter ¶
func NewFlowLimiter(config config.LimiterConfig) *FlowLimiter
func (*FlowLimiter) Allow ¶
func (f *FlowLimiter) Allow() bool
func (*FlowLimiter) GetConfig ¶ added in v1.2.4
func (f *FlowLimiter) GetConfig() *config.LimiterConfig
func (*FlowLimiter) UpdateLimiter ¶
func (f *FlowLimiter) UpdateLimiter(config config.LimiterConfig) error
Click to show internal directories.
Click to hide internal directories.