# layim
**Repository Path**: dabingxiaocong/layim
## Basic Information
- **Project Name**: layim
- **Description**: springboot+netty(websocket)+layim 整套聊天解决方案,即时通讯
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: http://kefu.zhaoey.club
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2020-09-17
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 交流群
- 欢迎加入QQ群讨论:809067735
-
## 1.项目介绍
- 本项目代码注重代码规范,很多地方都有注释,方便开发者阅读
- 仅供交流学习,不可用于商业用途(如果出现问题本人概不负责),更不可出售本项目源代码
- LayIM代码未上传,LayIM代码是Layui收费的项目,如有需要请自行购买。(tip:作者对layim源码稍有改动,如需要改动后的layim代码请联系作者)
- 本项目使用了作者的一个私有依赖包,如果需要,请关注作者微信公众号,回复 "im依赖" 获取
-
## 2.在线预览
- PC:http://kefu.zhaoey.club/
- 移动端:http://kefu.zhaoey.club/mobile
## 3.技术架构
- SpringBoot v2.1.6
- Netty
- Websocket
- Layim
- MybatisPlus
- Mysql
- SpringSecurity
- Thymeleaf
- Druid
## 4.支持的功能
- 单聊
- 群聊
- 聊天记录
- 状态切换
- 签名
- 消息提醒
- 未读消息数量显示
- 搜索
- 加好友
- 加群
- 申请审核
- 断线重连
- 服务端空闲检测
- 客户端心跳检测
- 在线状态实时更新(头像点亮与置灰)
- 离线消息推送设计
## 5.功能预览
### 5.1 PC端预览




### 5.2 移动端预览
## 6 代码结构
```
|-- src/main/java/cn.wecloud.layim
|-- config
|-- constants
|-- enums
|-- model
|-- mvc
|-- controller
|-- domain
|-- dto
|-- entity
|-- message
|-- po
|-- vo
|-- mapper
|-- service
|-- impl
|-- netty 关于netty的操作都在这个包里
|-- attribute
|-- dispatcher netty消息分发器,分发给不同的交换机处理
|-- event 消息中产生的事件
|-- listener 监听消息中产生的事件
|-- exchanger 处理消息的交换机
|-- handler netty消息的处理
|-- protocol
|-- command 指令
|-- packet 请求包
|-- request 请求数据
|-- response 响应数据
|-- session 缓存在channel中的数据
|-- utils netty工具类
|-- security
|-- annotation
|-- logout
|-- util
|-- src/main/resource
|-- static
|-- templates
```