Browse Source

Adds TODO

pull/96/head
Spencer Gibb 7 years ago
parent
commit
5bff2b22b3
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 1
      spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/ratelimit/RateLimiter.java

1
spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/ratelimit/RateLimiter.java

@ -6,6 +6,7 @@ import reactor.core.publisher.Mono; @@ -6,6 +6,7 @@ import reactor.core.publisher.Mono;
* @author Spencer Gibb
*/
public interface RateLimiter {
//TODO: move ints to tuple
Mono<Response> isAllowed(String id, int replenishRate, int burstCapacity);
class Response {

Loading…
Cancel
Save