1 Star 0 Fork 0

yizzuide / Milkomeda

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Milkomeda

tag license

名字源于未来要融合的”银河织女系“,代表当前Spring生态的全家桶体系,这个项目以Spring生态为基础,从实际业务上整理出来的快速开发模块。

目前添加的模块有:

  • Pulsar(脉冲星): 用于长轮询、耗时请求fast-timeout等。0.1.0+
    • 依赖技术:Spring MVC
    • 设计模式:适配器模式、代理模式
  • Comet(彗星): 用于统一的请求切面日志记录。0.2.0+
    • 依赖技术:Spring MVC
    • 设计模式:策略模式
  • Pillar(创生柱): 用于if/else业务块拆分。0.2.0+
    • 可选依赖技术:Spring IoC
    • 设计模式:策略模式、适配器模式
  • Particle(粒子): 用于幂等/去重、次数限制,及可扩展限制器责任链。1.5.0+
    • 依赖技术:Spring MVC、SpringBoot Data Redis
    • 设计模式:策略模式、责任链模式、组合模式
  • Light (光): 用于快速缓存,支持超级缓存(ThreadLocal)、一级缓存(内存缓存池)、二级缓存(Redis)。 1.8.0+
    • 依赖技术:SpringBoot Data Redis
    • 设计模式:策略模式、模板方法模式、门面模式

Requirements

  • Java 8
  • Lombok 1.18.x
  • SpringBoot 2.x

Installation

<dependency>
    <groupId>com.github.yizzuide</groupId>
    <artifactId>milkomeda-spring-boot-starter</artifactId>
    <version>1.10.2</version>
</dependency>

Dependency

<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
   <groupId>org.projectlombok</groupId>
   <artifactId>lombok</artifactId>
</dependency>

Documentation

Pulsar使用文档

Comet使用文档

Pillar使用文档

Particle使用之API方式

Particle使用之注解方式

Light使用文档

Author

yizzuide, fu837014586@163.com

License

Milkomeda is available under the MIT license. See the LICENSE file for more info.

MIT License Copyright (c) 2019 Yizzuide Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于Spring生态打造的一系列来自业务上的快速开发模块集合 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/yizzuide/Milkomeda.git
git@gitee.com:yizzuide/Milkomeda.git
yizzuide
Milkomeda
Milkomeda
master

搜索帮助