MSP-437 add throttling domain

This commit is contained in:
d1slike committed 2022-08-04 21:49:13 +03:00
1 parent 6a8c628570
commit 9e205573ea
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
package domain
import (
"time"
)
type RateLimitResult struct {
Allow bool
Remaining int
RetryAfter time.Duration
}