MVN

io.gitee.aghp : request-limiter-sdk

Maven & Gradle

Sep 08, 2023

一个用于对接口限流的SDK,集成了常见的四种限流算法:固定窗口计数器限流算法、滑动窗口计数器限流算法、 漏桶限流算法、令牌桶限流算法,以及谷歌提供的 guava 工具类中的 RateLimiter 限流工具类

<dependency>
    <groupId>io.gitee.aghp</groupId>
    <artifactId>request-limiter-sdk</artifactId>
    <version>0.0.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.gitee.aghp : request-limiter-sdk to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.0.1

All Versions

Choose a version of io.gitee.aghp : request-limiter-sdk to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.0.x
request-limiter-sdk-0.0.1

How to add a dependency to Maven

Add the following io.gitee.aghp : request-limiter-sdk maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>io.gitee.aghp</groupId>
    <artifactId>request-limiter-sdk</artifactId>
    <version>0.0.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following io.gitee.aghp : request-limiter-sdk gradle dependency to your build.gradle file:

implementation 'io.gitee.aghp:request-limiter-sdk:0.0.1'

Gradle Kotlin DSL: Add the following io.gitee.aghp : request-limiter-sdk gradle kotlin dependency to your build.gradle.kts file:

implementation("io.gitee.aghp:request-limiter-sdk:0.0.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following io.gitee.aghp : request-limiter-sdk sbt scala dependency to your build.sbt file:

libraryDependencies += "io.gitee.aghp" % "request-limiter-sdk" % "0.0.1"