Merge pull request #280 from flycash/feature/StrategyCreator
Ftr: Replace func(int, int) with TpsLimitStrategyCreator interface
No related branches found
No related tags found
Showing
- common/extension/tps_limit.go 3 additions, 3 deletionscommon/extension/tps_limit.go
- filter/impl/tps/impl/tps_limit_fix_window_strategy.go 6 additions, 3 deletionsfilter/impl/tps/impl/tps_limit_fix_window_strategy.go
- filter/impl/tps/impl/tps_limit_fix_window_strategy_test.go 3 additions, 2 deletionsfilter/impl/tps/impl/tps_limit_fix_window_strategy_test.go
- filter/impl/tps/impl/tps_limit_sliding_window_strategy.go 4 additions, 2 deletionsfilter/impl/tps/impl/tps_limit_sliding_window_strategy.go
- filter/impl/tps/impl/tps_limit_sliding_window_strategy_test.go 3 additions, 2 deletions...r/impl/tps/impl/tps_limit_sliding_window_strategy_test.go
- filter/impl/tps/impl/tps_limit_thread_safe_fix_window_strategy.go 9 additions, 3 deletions...mpl/tps/impl/tps_limit_thread_safe_fix_window_strategy.go
- filter/impl/tps/impl/tps_limit_thread_safe_fix_window_strategy_test.go 3 additions, 2 deletions...ps/impl/tps_limit_thread_safe_fix_window_strategy_test.go
- filter/impl/tps/impl/tps_limiter_method_service.go 1 addition, 1 deletionfilter/impl/tps/impl/tps_limiter_method_service.go
- filter/impl/tps/impl/tps_limiter_method_service_test.go 31 additions, 12 deletionsfilter/impl/tps/impl/tps_limiter_method_service_test.go
- filter/impl/tps/tps_limit_strategy.go 4 additions, 0 deletionsfilter/impl/tps/tps_limit_strategy.go
Please register or sign in to comment