Commit 50f703a3 authored by Cole Brown's avatar Cole Brown

Update TTL interface to follow new []byte interfaces

parent c64e3d37
...@@ -136,7 +136,7 @@ func DiskUsage(d Datastore) (uint64, error) { ...@@ -136,7 +136,7 @@ func DiskUsage(d Datastore) (uint64, error) {
type TTLDatastore interface { type TTLDatastore interface {
Datastore Datastore
PutWithTTL(key Key, value interface{}, ttl time.Duration) error PutWithTTL(key Key, value []byte, ttl time.Duration) error
SetTTL(key Key, ttl time.Duration) error SetTTL(key Key, ttl time.Duration) error
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment