Classes represents the rate limiting classes for the resource. A resource may belong in multiple classes. The limiter instance will limit access to the resource based on the limits of the first class that matches the configuration. If no class is matched, the limiter instance can fallback to a defau
()
| 37 | // based on the limits of the first class that matches the configuration. If no |
| 38 | // class is matched, the limiter instance can fallback to a default rate limit. |
| 39 | Classes() []string |
| 40 | } |
| 41 | |
| 42 | type resource struct { |