Go 语言 WebSocket 调试工具

wsutil

Repo: https://github.com/Akagi201/wsutil

WebSocket utils to help debug WebSocket applications

Tools

  • client WebSocket client.
  • dump WebSocket client with echo test.
  • proxy simple single WebSocket proxy.

Run

  • ./client --ws=ws://echo.websocket.org/
  • ./client --ws=ws://localhost:8327
  • ./proxy --upstream=ws://localhost:8328
  • ./dump --listen=0.0.0.0:8328 --echo

1 个评论

这个可以benchmark吗 类似apache ab那样测试websocket server的性能

要回复文章请先登录注册