mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-22 19:12:05 -08:00
unexport rawLimiterConfig
This commit is contained in:
parent
4050b6571a
commit
42db1778ac
3 changed files with 6 additions and 6 deletions
|
|
@ -66,7 +66,7 @@ func makeTestThrottler(v4len, v6len int) *Limiter {
|
|||
minute, _ := time.ParseDuration("1m")
|
||||
maxConnections := 3
|
||||
config := LimiterConfig{
|
||||
RawLimiterConfig: RawLimiterConfig{
|
||||
rawLimiterConfig: rawLimiterConfig{
|
||||
Limit: false,
|
||||
Throttle: true,
|
||||
CidrLenIPv4: v4len,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue