Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginName lru rate plugin
PluginName = "lrurate"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRURate ¶
type LRURate struct{}
LRURate Ratelimit
func (*LRURate) Allow ¶
func (m *LRURate) Allow(rateType plugin.RatelimitType, id string) bool
Allow 实现CMDB插件接口
func (*LRURate) Initialize ¶
func (m *LRURate) Initialize(c *plugin.ConfigEntry) error
Initialize 初始化函数
Click to show internal directories.
Click to hide internal directories.