Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
glamboyosa committed Jul 20, 2024
1 parent 1fb6282 commit cee1221
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ Fallback providers.RateLimitResult // Optional. Fallback result to use in case o

Initializes a new rate limiter instance.

- Parameters:
Parameters:

- rootKey: The root key for authorization.
- i: Configuration object of type UnkeyRateLimiterNew.
- rootKey: The root key for authorization.
- i: Configuration object of type UnkeyRateLimiterNew.

Returns:
An instance of `unkeyRateLimiterNewInit`.
Returns:
An instance of `unkeyRateLimiterNewInit`.

`Ratelimit(ctx context.Context, identifier string, opts *providers.UnkeyRateLimiterOptions) (providers.RateLimitResult, error)`
Makes a rate limit request to the Unkey API.
Expand Down

0 comments on commit cee1221

Please sign in to comment.