Browse Source

🎉 使用 Guava 限流 demo 初始化

pull/1/head
Yangkai.Shen 5 years ago
parent
commit
2644612ef3
4 changed files with 14 additions and 1 deletions
  1. +2
    -0
      spring-boot-demo-ratelimit-guava/README.md
  2. +8
    -0
      spring-boot-demo-ratelimit-guava/src/main/java/com/xkcoding/ratelimit/guava/SpringBootDemoRatelimitGuavaApplication.java
  3. +0
    -1
      spring-boot-demo-ratelimit-guava/src/main/resources/application.properties
  4. +4
    -0
      spring-boot-demo-ratelimit-guava/src/main/resources/application.yml

+ 2
- 0
spring-boot-demo-ratelimit-guava/README.md View File

@@ -0,0 +1,2 @@
# spring-boot-demo-ratelimit-guava


+ 8
- 0
spring-boot-demo-ratelimit-guava/src/main/java/com/xkcoding/ratelimit/guava/SpringBootDemoRatelimitGuavaApplication.java View File

@@ -3,6 +3,14 @@ package com.xkcoding.ratelimit.guava;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
* <p>
* 启动器
* </p>
*
* @author yangkai.shen
* @date Created in 2019/9/12 14:06
*/
@SpringBootApplication
public class SpringBootDemoRatelimitGuavaApplication {



+ 0
- 1
spring-boot-demo-ratelimit-guava/src/main/resources/application.properties View File

@@ -1 +0,0 @@


+ 4
- 0
spring-boot-demo-ratelimit-guava/src/main/resources/application.yml View File

@@ -0,0 +1,4 @@
server:
port: 8080
servlet:
context-path: /demo

Loading…
Cancel
Save