package
0.1.2
Repository: https://github.com/observatorium/api.git
Documentation: pkg.go.dev

# README

Gubernator

Gubernator is a distributed, high performance, cloud native and stateless rate limiting service.

We generate gRPC client code (gubernator.pb.go) using gobernator.proto which is a file directly download from the project repository. You can find the 3rd party dependencies for proto generation under proto directory. To update or re-generate please use make proto.

# Functions

No description provided by the author
No description provided by the author

# Constants

Leaky bucket algorithm https://en.wikipedia.org/wiki/Leaky_bucket.
Token bucket algorithm https://en.wikipedia.org/wiki/Token_bucket.
<-- this is here because proto requires it, but has no effect if used.
Changes the behavior of the `Duration` field.
Enables Global caching of the rate limit.
Enables rate limits to be pushed to other regions.
Disables batching.
If this flag is set causes the rate limit to reset any accrued hits stored in the cache, and will ignore any `Hit` values provided in the current request.
No description provided by the author
No description provided by the author

# Variables

Enum value maps for Algorithm.
Enum value maps for Algorithm.
Enum value maps for Behavior.
Enum value maps for Behavior.
No description provided by the author
Enum value maps for Status.
Enum value maps for Status.

# Structs

Must specify at least one Request.
RateLimits returned are in the same order as the Requests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedV1Server can be embedded to have forward compatible implementations.

# Interfaces

V1Client is the client API for V1 service.
V1Server is the server API for V1 service.

# Type aliases

No description provided by the author
A set of int32 flags used to control the behavior of a rate limit in gubernator.
No description provided by the author