GolangNote

Golang笔记

iris websocket 自定义信息结构

Permalink

iris websocket 自定义信息结构

plaintext: iris websocket 自定义信息结构
1
2
3
4
5
6
7
8
9
10
native:
send: 111
recieve: 111
send: qas
recieve: qas

send: iris-websocket-message:chat;1;111
recieve: iris-websocket-message:chat;0;111
send: iris-websocket-message:chat;0;qas
recieve: iris-websocket-message:chat;0;qas

https://github.com/kataras/iris/tree/v6/_examples/examples/websockets

https://github.com/kataras/iris/tree/v6/adaptors/websocket

这是早期 iris 的使用方式

本文网址: https://golangnote.com/topic/161.html 转摘请注明来源

Related articles

Write a Comment to "iris websocket 自定义信息结构"

Submit Comment Login
Based on Golang + fastHTTP + sdb | go1.20 Processed in 0ms