summaryrefslogtreecommitdiff
path: root/plugins/redis/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/redis/interface.go')
-rw-r--r--plugins/redis/interface.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/redis/interface.go b/plugins/redis/interface.go
new file mode 100644
index 00000000..909c8ca4
--- /dev/null
+++ b/plugins/redis/interface.go
@@ -0,0 +1,9 @@
+package redis
+
+import "github.com/go-redis/redis/v8"
+
+// Redis in the redis KV plugin interface
+type Redis interface {
+ // GetClient
+ GetClient() redis.UniversalClient
+}