12 lines
127 B
Go
12 lines
127 B
Go
package domain
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type RateLimitResult struct {
|
|
Allow bool
|
|
Remaining int
|
|
RetryAfter time.Duration
|
|
}
|