# Functions
No description provided by the author
No description provided by the author
DefaultRequestKey used to get key of HTTP request if you don't know how to get the key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReadBody will automatically unzip body.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
deprecated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint:errname.
No description provided by the author
# Structs
No description provided by the author
APIRateLimiterImpl is default implemented of APIRateLimiter based on tollbooth.
No description provided by the author
No description provided by the author
No description provided by the author
Dynamic error create based on specific HttpError.
ReporterImpl used to report API stats TODO: We should implemente a default API metric reporter under cliutils.
No description provided by the author
No description provided by the author
# Interfaces
APIMetricReporter used to collects API metrics during API handing.
No description provided by the author
RateLimiter used to define API request rate limiter.
# Type aliases
No description provided by the author
No description provided by the author
RequestKey is a callback used to calculate request @r's ID, we can use r.Method + tkn + r.URL.Path as the id of @r, if the ID is empty string, it's degrade into a simple rate limiter(all API's request are limited under the rate).