mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
15 lines
294 B
Go
15 lines
294 B
Go
package limiter
|
|
|
|
import "log"
|
|
|
|
func ClearPacketOnlineIP() error {
|
|
log.Println("Limiter: Clear packet online ip...")
|
|
limitLock.RLock()
|
|
for _, l := range limiter {
|
|
l.ConnLimiter.ClearPacketOnlineIP()
|
|
}
|
|
limitLock.RUnlock()
|
|
log.Println("Limiter: Clear packet online ip done")
|
|
return nil
|
|
}
|