定义延迟队列生产者接口以及基于redis的实现

This commit is contained in:
2022-07-06 18:10:33 +08:00
parent bce2f7159e
commit 436fc2626e
5 changed files with 88 additions and 0 deletions

6
go.mod
View File

@@ -1,3 +1,9 @@
module git.zhangdeman.cn/zhangdeman/queue
go 1.17
require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/go-redis/redis/v8 v8.11.5 // indirect
)