func (r *RateLimit) RateLimitTimeout(key string) int64 {
	global := r.global.timeout(r.TimeDiff.Now())

	bucket := r.Bucket(key)
	unique := bucket.timeout(r.TimeDiff.Now())

	if global > unique {
		return global
	}
	return unique
}
// RateLimitTimeout returns the time left before the rate limit for a given key
// is reset. This takes the global rate limit into account.
RateLimitTimeout returns the time left before the rate limit for a given key
is reset. This takes the global rate limit into account.
// RateLimitTimeout returns the time left before the rate limit for a given key // is reset . This takes the global rate limit into account .
func (r *RateLimit) RateLimitTimeout(key string) int64 {
	global := r.global.timeout(r.TimeDiff.Now())
	bucket := r.Bucket(key)
	unique := bucket.timeout(r.TimeDiff.Now())
	if global > unique {
		return global
	}
	return unique
}
func ( r * RateLimit ) RateLimitTimeout ( key string ) int64 { global := r . global . timeout ( r . TimeDiff . Now ( ) ) bucket := r . Bucket ( key ) unique := bucket . timeout ( r . TimeDiff . Now ( ) ) if global > unique { return global } return unique }
RateLimitTimeout returns the time left before the rate limit for a given key
is reset.
RateLimitTimeout returns the time left before the rate limit for a given key is reset .