请问本站页脚的在线人数是怎么实现的?

dkp8084 · · 1649 次点击
就是用的WebSocket,URL是: ``` wss://studygolang.com/ws?uid=xxxx ``` studygolang源代码: https://github.com/studygolang/studygolang/blob/7b362a04fed8ad93ebf6722789d475c4e3350e30/http/controller/websocket.go#L31
#3
更多评论
session统计的吧,直接渲染到页面上
#2