Tag: websocket

Golang websocket 客户端

Jackey Golang 121 次浏览 ,
基于:github.com/gorilla/websocket 实现 func main() { interrupt := make(chan os.Signal, 1) signal.Notify(interrupt, os.Interrupt) ws := "ws://127.0.0.1:8080/ws" c, _, err := websocket.DefaultDia...
Go