func (rl *RateLimiter) HandleFunc(f http.HandlerFunc) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		if err := rl.limit(w, r); err != nil {
			return
		}
		f(w, r)
	}
}
// HandleFunc handles incoming requests by applying rate limit, and calls
// f if the client is under the limit.
HandleFunc handles incoming requests by applying rate limit, and calls
f if the client is under the limit.
// HandleFunc handles incoming requests by applying rate limit and calls // f if the client is under the limit .
func (rl *RateLimiter) HandleFunc(f http.HandlerFunc) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		if err := rl.limit(w, r); err != nil {
			return
		}
		f(w, r)
	}
}
func ( rl * RateLimiter ) HandleFunc ( f http . HandlerFunc ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { if err := rl . limit ( w , r ) ; err != nil { return } f ( w , r ) } }
HandleFunc handles incoming requests by applying rate limit, and calls
f if the client is under the limit.
HandleFunc handles incoming requests by applying rate limit and calls f if the client is under the limit .