Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vouv/chat-room
使用GO+Vue构建的聊天室网站
https://github.com/vouv/chat-room
chatroom element-ui gin golang vue websocket
Last synced: 16 days ago
JSON representation
使用GO+Vue构建的聊天室网站
- Host: GitHub
- URL: https://github.com/vouv/chat-room
- Owner: vouv
- License: mit
- Created: 2018-09-13T09:08:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-07T16:05:48.000Z (over 2 years ago)
- Last Synced: 2024-07-11T10:47:13.543Z (5 months ago)
- Topics: chatroom, element-ui, gin, golang, vue, websocket
- Language: JavaScript
- Homepage:
- Size: 2.57 MB
- Stars: 158
- Watchers: 8
- Forks: 42
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chatroom
[![Go Report Card](https://goreportcard.com/badge/github.com/vouv/chat-room)](https://goreportcard.com/report/github.com/vouv/chat-room) [![Build Status](https://travis-ci.org/vouv/chat-room.svg?branch=master)](https://travis-ci.org/vouv/chat-room) ![license](https://img.shields.io/packagist/l/doctrine/orm.svg) [![donate](https://img.shields.io/badge/%24-donate-ff69b4.svg)](https://github.com/vouv/donate)
> 基于Golang+Vue实现的聊天室
## Tech
1. 实现了三种通信方式
- 刷新-refresh
- 长轮询-long-polling
- 长连接-websocket2. 基于GO中Channel特性搭建聊天室模型
## 更新日志
### 2019.11.20
- 优化架构
- 优化UI### 2019.4.30
- 更新UI
- 优化接口### 2018.12.19
- 优化聊天室逻辑
## 效果图
### 主页
![首页](./doc/image/index.jpg)
### 聊天室
![聊天室](./doc/image/room.jpg)
## Thanks To
- [gin](https://github.com/gin-gonic/gin)
- [gorilla/websocket](https://github.com/gorilla/websocket)
- [vuejs](https://github.com/vuejs/vue)
- [element](https://github.com/ElemeFE/element)
- [axios](https://github.com/axios/axios)
- [js-cookie](https://github.com/js-cookie/js-cookie)