resty_v2 -> resty_v3
This commit is contained in:
13
httpclient/abstract/IRateLimiter.go
Normal file
13
httpclient/abstract/IRateLimiter.go
Normal file
@ -0,0 +1,13 @@
|
||||
// Package abstract ...
|
||||
//
|
||||
// Description : abstract ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2025-05-07 21:13
|
||||
package abstract
|
||||
|
||||
// RateLimiter v2 流控口约束, v3移除了, 人工补齐
|
||||
type RateLimiter interface {
|
||||
Allow() bool
|
||||
}
|
Reference in New Issue
Block a user