# coco
**Repository Path**: cosmoss/coco
## Basic Information
- **Project Name**: coco
- **Description**: JAVA 短连接服务,Spring4.2.4+Redis2.8+Mysql
- **Primary Language**: Java
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 3
- **Forks**: 0
- **Created**: 2017-07-26
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#coco
JAVA 短连接服务,Spring4.2.4+Redis2.8+Mysql
#Guide
后续兄弟系列作品陆续开源请多关注,疑问进群:[534102949](http://shang.qq.com/wpa/qunwpa?idkey=423931634fb5a59503ad90a36a2eb0802491953297563af3dc8de130c843fc34)
##Overview
- coco-sul 短连接实现
- coco-web sul演示demo
``` lua
jetty:run
http://localhost:8088/sul/sul/assign
http://localhost:8088/sul/s/aeuQ3q 重定向 http://www.baidu.com
```
##Reference
1.maven增加依赖
``` lua
cn.coco
coco-sul
1.0-SNAPSHOT
```
2. Service Config
``` lua
1)短连接默认长度6,区分符号 "/s/"
2)可配置:
sul.url.length
sul.host.prefix
```
3.Spring Config
1)存储(可同时使用):
``` lua
Redis:
Mysql:
```
4.SpringMvc Config
``` lua
```
## 许可证
[MIT](http://opensource.org/licenses/MIT "MIT")