diff --git a/interceptors/ratelimit/ratelimit.go b/interceptors/ratelimit/ratelimit.go index 54df8921a..90b3db820 100644 --- a/interceptors/ratelimit/ratelimit.go +++ b/interceptors/ratelimit/ratelimit.go @@ -9,7 +9,7 @@ import ( ) // Limiter defines the interface to perform request rate limiting. -// If Limit function return an error, the request will be rejected. +// If Limit function returns an error, the request will be rejected with status code and the provided error as the response. // Otherwise, the request will pass. type Limiter interface { Limit(ctx context.Context) error