We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4549af + 0367a55 commit d2046d6Copy full SHA for d2046d6
redis.go
@@ -11,9 +11,6 @@ import (
11
query "github.com/ipfs/go-datastore/query"
12
)
13
14
-var _ datastore.Datastore = &Datastore{}
15
-var _ datastore.ThreadSafeDatastore = &Datastore{}
16
-
17
var ErrInvalidType = errors.New("redis datastore: invalid type error. this datastore only supports []byte values")
18
19
func NewExpiringDatastore(client *redis.Client, ttl time.Duration) (*Datastore, error) {
@@ -82,8 +79,6 @@ func (ds *Datastore) Query(q query.Query) (query.Results, error) {
82
79
return nil, errors.New("TODO implement query for redis datastore?")
83
80
}
84
81
85
-func (ds *Datastore) IsThreadSafe() {}
86
87
func (ds *Datastore) Batch() (datastore.Batch, error) {
88
return nil, datastore.ErrBatchUnsupported
89
0 commit comments