Skip to content

Commit

Permalink
[feat] use redisv8 as redis client (#3)
Browse files Browse the repository at this point in the history
* update get implemention
* add getWithExpire
  • Loading branch information
Fico committed Sep 23, 2022
1 parent 34a229d commit 11ed8d7
Show file tree
Hide file tree
Showing 6 changed files with 638 additions and 204 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
build/
example/
.idea/
.vscode/
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ module github.com/stumble/needle
go 1.16

require (
github.com/coocood/freecache v1.1.1
github.com/coocood/freecache v1.2.2
github.com/davecgh/go-spew v1.1.1
github.com/go-redis/redis v6.15.7+incompatible
github.com/go-redis/redis/v8 v8.11.5 // indirect
github.com/go-sql-driver/mysql v1.5.0
github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334
github.com/kelseyhightower/envconfig v1.4.0
github.com/opentracing/opentracing-go v1.1.0
github.com/pingcap/parser v0.0.0-20210325072920-0d17053a8a69
github.com/pingcap/tidb v1.1.0-beta.0.20210406145431-bdac0885cd11
github.com/prometheus/client_golang v1.5.1
github.com/prometheus/client_golang v1.13.0
github.com/rs/zerolog v1.17.2
github.com/satori/go.uuid v1.2.0
github.com/stretchr/testify v1.6.1
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
)
Loading

0 comments on commit 11ed8d7

Please sign in to comment.