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.
 
 
 
 

17 lines
393 B

  1. @startuml
  2. participant client
  3. participant connect
  4. participant logic
  5. client -> connect: 离线消息同步
  6. connect -> logic: 离线消息同步
  7. logic -> logic: 如果seq!=0,同步序列号大于seq的消息,否则,同步用户未收到的消息
  8. logic --> connect: 返回离线消息
  9. connect --> client: 返回离线消息
  10. client -> connect: 消息ack
  11. connect -> logic: 消息ack
  12. @enduml