func (q Q) Quota() (int, time.Duration) {
	return q.Requests, q.Window
}
Quota returns the number of requests allowed and the custom time window.

Deprecated: Use Rate and RateLimiter instead.
package throttled
import (
	"net/http"
	"time"
)
func (q Rate) Quota() (int, time.Duration) {
	return q.count, q.period * time.Duration(q.count)
}
type Q struct {
	Requests int
	Window   time.Duration
}