Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2024 Changes in this version + const FixedWindowKey + type FixedWindowTpsLimitStrategy struct + func (impl *FixedWindowTpsLimitStrategy) IsAllowable() bool + type MockTpsLimitStrategy struct + func NewMockTpsLimitStrategy(ctrl *gomock.Controller) *MockTpsLimitStrategy + func (m *MockTpsLimitStrategy) EXPECT() *MockTpsLimitStrategyMockRecorder + func (m *MockTpsLimitStrategy) IsAllowable() bool + type MockTpsLimitStrategyMockRecorder struct + func (mr *MockTpsLimitStrategyMockRecorder) IsAllowable() *gomock.Call + type SlidingWindowTpsLimitStrategy struct + func (impl *SlidingWindowTpsLimitStrategy) IsAllowable() bool + type ThreadSafeFixedWindowTpsLimitStrategy struct + func (impl *ThreadSafeFixedWindowTpsLimitStrategy) IsAllowable() bool