1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-23 11:56:00 +00:00

add iris websocket client side for Go and a simple chat example

Former-commit-id: af1c555b6b092a3d0484fee2e200fd8767d7239e
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-02-09 04:28:00 +02:00
parent d30f17eb3f
commit 280872fd59
9 changed files with 536 additions and 226 deletions

View File

@@ -431,6 +431,9 @@ iris websocket库依赖于它自己的[包](https://github.com/kataras/iris/tree
决定给iris设计一个**快速的**websocket**限定**包并且不是一个向后传递类socket.io的包。你可以阅读这个链接里的文章https://medium.com/@ivanderbyl/why-you-don-t-need-socket-io-6848f1c871cd。
- [聊天](websocket/chat/main.go)
- [Chat with Iris Go Client Side](websocket/go-client) **NEW**
* [Server](websocket/go-client/server/main.go)
* [Client](websocket/go-client/client/main.go)
- [原生消息](websocket/native-messages/main.go)
- [连接列表](websocket/connectionlist/main.go)
- [TLS支持](websocket/secure/main.go)