update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
6
redis.go
6
redis.go
@@ -39,7 +39,7 @@ func (r *rkv) Disconnect(ctx context.Context) error {
|
||||
return r.cli.Close()
|
||||
}
|
||||
|
||||
func (r *rkv) Exists(ctx context.Context, key string) error {
|
||||
func (r *rkv) Exists(ctx context.Context, key string, opts ...store.ExistsOption) error {
|
||||
//options := store.NewReadOptions(opts...)
|
||||
//if len(options.Table) == 0 {
|
||||
// options.Table = r.opts.Table
|
||||
@@ -128,6 +128,10 @@ func (r *rkv) Options() store.Options {
|
||||
return r.opts
|
||||
}
|
||||
|
||||
func (r *rkv) Name() string {
|
||||
return r.opts.Name
|
||||
}
|
||||
|
||||
func (r *rkv) String() string {
|
||||
return "redis"
|
||||
}
|
||||
|
Reference in New Issue
Block a user