golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 jaren geleden
1234567891011121314151617
  1. @startuml
  2. participant client
  3. participant connect
  4. participant logic
  5. client -> connect: 心跳包请求
  6. connect --> client: 心跳包响应
  7. client -> client: 等待一段时间
  8. client -> connect: 心跳包请求
  9. connect --> client: 心跳包响应
  10. connect -> connect: 连续n次没有收到,释放连接
  11. connect -> logic: 通知设备下线
  12. @enduml