我后端是使用golang,用了 gorilla/websocket 这个包,参考了他的chat 的例子,他的大概思路就是把每个连接保存到一个列表,然后有消息时,遍历一下这个列表然后挨个 ...
確定! 回上一頁