Files
isp-gate-service/domain/throttling.go
T

12 lines
127 B
Go

package domain
import (
"time"
)
type RateLimitResult struct {
Allow bool
Remaining int
RetryAfter time.Duration
}