All Projects → weifuchuan → customer-service

weifuchuan / customer-service

Licence: other
客服IM服务端,基于t-io

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
shell
77523 projects
typescript
32286 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to customer-service

Nettychat
基于Netty+TCP+Protobuf实现的Android IM库,包含Protobuf序列化、TCP拆包与粘包、长连接握手认证、心跳机制、断线重连机制、消息重发机制、读写超时机制、离线消息、线程池等功能。
Stars: ✭ 1,979 (+6496.67%)
Mutual labels:  aio, im
teamtalk websocket server
让teamtalk支持websocket 从而实现web端的即时通讯
Stars: ✭ 14 (-53.33%)
Mutual labels:  websocket-server, im
pushd
An open source distributed pubsub/IM server
Stars: ✭ 30 (+0%)
Mutual labels:  im
machat
An open source chat server implemented in Go
Stars: ✭ 73 (+143.33%)
Mutual labels:  websocket-server
danmu
轻量弹幕(IM)系统
Stars: ✭ 11 (-63.33%)
Mutual labels:  im
Rockets
REST and websockets C++ library
Stars: ✭ 39 (+30%)
Mutual labels:  websocket-server
Client
TRPG即时IM通讯软件客户端,基于React 与 React Native + Redux技术
Stars: ✭ 118 (+293.33%)
Mutual labels:  im
NoWordsChat
No Words Chat,Just For Fun! Use MVVM,DataBinding,Fresco......
Stars: ✭ 46 (+53.33%)
Mutual labels:  im
go-im
基于Golang编写的高性能im服务器 🚀
Stars: ✭ 220 (+633.33%)
Mutual labels:  im
WebSocketListener
A lightweight and highly scalable asynchronous WebSocket listener
Stars: ✭ 70 (+133.33%)
Mutual labels:  websocket-server
chat-server-release
[飞享]-服务端发布版本,支持TCP,Websocket链接,只需修改少量的配置即可快速部署,请严格按照项目部署目录配置环境,这样能保证你快速部署成功.详情请进入官网https://www.fsharechat.cn 查看具体的部署说明,技术支持商业合作请找官方技术支持
Stars: ✭ 28 (-6.67%)
Mutual labels:  im
firetower
firetower 基于golang构建的websocket开发框架 | 推送 | IM | 游戏
Stars: ✭ 40 (+33.33%)
Mutual labels:  im
nginx-websocket-module
nginx-websocket-module is based on nginx, you can use it to develop your own websocket server.
Stars: ✭ 14 (-53.33%)
Mutual labels:  websocket-server
mica-mqtt
基于 java aio 实现的低延迟、高性能百万级 mqtt client 组件和 mqtt broker 服务。🔝🔝 记得右上角点个star 关注更新!
Stars: ✭ 128 (+326.67%)
Mutual labels:  t-io
tornado-websocket-client-example
Websocket client application example built on top of Tornado.
Stars: ✭ 34 (+13.33%)
Mutual labels:  websocket-server
Lib.AspNetCore.WebSocketsCompression
[Archived] Lib.AspNetCore.WebSocketsCompression is a library which provides a managed implementation of the WebSocket protocol, along with server integration components and support for permessage-deflate compression.
Stars: ✭ 23 (-23.33%)
Mutual labels:  websocket-server
server
即时通讯(IM)系统
Stars: ✭ 6,896 (+22886.67%)
Mutual labels:  im
racket-rfc6455
RFC 6455 WebSockets support for Racket.
Stars: ✭ 32 (+6.67%)
Mutual labels:  websocket-server
fastim
🚀基于Netty高可用分布式即时通讯系统,支持长连接网关管理、单聊、群聊、离线消息、消息推送消息、消息已读未读、消息未读数、红包、消息漫游等功能,支持集群部署的分布式架构。
Stars: ✭ 111 (+270%)
Mutual labels:  im
imsdk-ios
Startalk is a high-performace IM software for business. It has been stably used in Qunar for more than 4 years, providing services as well as consultation after and before sales to business. Startalk is applicable to multiple scenarios, such as office automation, business services, and first-party SDKs for IM scenes
Stars: ✭ 30 (+0%)
Mutual labels:  im

customer-service

客服IM,基于t-io

前端项目:

https://github.com/weifuchuan/customer-service-webapp

临时预览:(么得云服务器啦)

客户端http://123.207.28.107:7776/cs/customer

客服端http://123.207.28.107:7776/cs/waiter

构建&运行

运行命令:mvn clean package

构建后,在target/customer-service-*文件夹中,修改config/config.properties配置文件,1)windows:运行start.bat;2)linux:./server.sh start./server.sh restart./server.sh stop

项目结构

  • src/main
    • java/com/fuchuan/customerservice Java源代码
      • common ImPacket定义、GRPC生成的代码、自动生成的Model类
        • model 用于db的Model,由_ModelGenerator自动生成,定义文件位于resources/model
        • payload 用于ImPacket的Payload,由_PayloadModelGenerator自动生成,定义文件位于resources/payload-model
      • db 数据库
      • kit 工具包
      • mock 开发、测试用的GRPC服务器、HTTP服务器
      • server 核心IM服务器
        • config ImServer的config类定义
        • handler ImServer用的处理器
          • actual 实际使用于各Command的handler
          • MainHandler.java
          • ... ...
        • listener ImServer用的listener
        • websocket 修改自t-io websocket的websocket实现,为了支持fin;待t-io websocket支持后删除
        • ImServer.java
        • ServerModule.java
      • App.java
      • CustomerServiceModule.java
    • proto ProtoBuf定义文件
    • proto-ts TypeScript使用
    • resources 配置文件和一些有用的东西

some point

  • 添加处理新的Command的handler:在com.fuchuan.customerservice.server.handler.actual中添加类,继承BaseActualHandler类,并注解@HandlerForCommand(Command.XXX),会自动注册到server
  • DI容器:feather
  • 使用GRPC获取业务信息
  • 默认用Redis数据库存储
  • ... ...

关于GRPC

  1. For Java:mvn protobuf:compile && mvn protobuf:compile-custom
  2. For TypeScript:在src/main/proto-ts中,npm installyarn安装node依赖,运行./gen-ts.sh。(项目中通过windows10的linux子系统运行之。)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].