feat: server 新增 Unique 异步消息,可用于避免相同标识的异步消息在未执行完毕前重复执行

This commit is contained in:
kercylan98
2023-11-13 14:16:38 +08:00
parent 30c0b3a64b
commit e2b7887b14
6 changed files with 155 additions and 37 deletions

2
go.mod
View File

@@ -4,7 +4,7 @@ go 1.21
require (
github.com/RussellLuo/timingwheel v0.0.0-20220218152713-54845bda3108
github.com/alphadose/haxmap v1.2.0
github.com/alphadose/haxmap v1.3.0
github.com/gin-contrib/pprof v1.4.0
github.com/gin-gonic/gin v1.9.1
github.com/go-resty/resty/v2 v2.7.0