package
Version:
v0.1.21
Opens a new window with list of versions in this module.
Published: Sep 28, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BBRConfig struct {
Enabled bool `mapstructure:"enabled" yaml:"enabled"`
CPUThreshold int64 `mapstructure:"cpu_threshold" yaml:"cpu_threshold"`
Window int `mapstructure:"window" yaml:"window"`
Decay float64 `mapstructure:"decay" yaml:"decay"`
}
type Config struct {
Rate float64 `mapstructure:"rate" yaml:"rate"`
Burst int `mapstructure:"burst" yaml:"burst"`
}
Source Files
¶
Directories
¶
Package store 提供限流状态存储后端(内存 / Redis)
|
Package store 提供限流状态存储后端(内存 / Redis) |
Package strategy BBR 自适应限流器
|
Package strategy BBR 自适应限流器 |
Click to show internal directories.
Click to hide internal directories.