im-util

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: MIT

README

im-util

仓库提供了如协议校验工具,压测工具、模拟客户端等工具。

  1. Protocol
  2. Pressure

Protocol工具

Protocol工具,是为了便于在IM客户端开发过程中校验各种格式是否正确的工具。

在如下场景你可以会需要使用Protocol工具

  1. 作为客户端与IM服务端进行通讯协议的握手时,使用工具校验鉴权帧。
  2. 调用接口时鉴权token的校验。
  3. 消息协议数据帧的校验。
  4. 需要批量生成用户时
  5. 采用DH加解密数据,对算法正确性验证。
  6. 使用密码加密和解密seed时。

Pressure工具

Pressure工具提供了批量启动客户端连接的工具

在如下场景你可能会需要使用Pressure工具

  1. 对系统进行消息收发压力测试和测试结果分析时。
  2. 对系统接入层维护连接进行压测观察。
License

im-util is under the MIT license. See the LICENSE file for details.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL