Skip to content

Commit

Permalink
Improve comment based on suggesitons
Browse files Browse the repository at this point in the history
Signed-off-by: dmaiocchi <[email protected]>
  • Loading branch information
MalloZup committed Jan 22, 2021
1 parent 6bfe427 commit 2daa367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interceptors/ratelimit/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2daa367

Please sign in to comment.