summaryrefslogtreecommitdiff
path: root/interfaces/redis/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 13:14:42 +0300
committerValery Piashchynski <[email protected]>2020-12-21 13:14:42 +0300
commite7a62f19155bbba9ac17527e2abb30d31c632655 (patch)
treef060dbd61f0dc0d1093937eced738bd6aead1373 /interfaces/redis/interface.go
parentb403dd170bf3dc3ce451ba4ada40dd55773b032a (diff)
Finish redis plugin
Diffstat (limited to 'interfaces/redis/interface.go')
-rw-r--r--interfaces/redis/interface.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/interfaces/redis/interface.go b/interfaces/redis/interface.go
index 61dd6c08..909c8ca4 100644
--- a/interfaces/redis/interface.go
+++ b/interfaces/redis/interface.go
@@ -2,9 +2,8 @@ package redis
import "github.com/go-redis/redis/v8"
+// Redis in the redis KV plugin interface
type Redis interface {
- GetClient() *redis.Client
- GetUniversalClient() *redis.UniversalClient
- GetClusterClient() *redis.ClusterClient
- GetSentinelClient() *redis.SentinelClient
+ // GetClient
+ GetClient() redis.UniversalClient
}