fix(feeds): ttl and correct field types (#259)

This commit is contained in:
Ludvig Lundgren 2022-05-01 16:09:00 +02:00 committed by GitHub
parent 5d032dd075
commit b7d1f216c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 8 deletions

View file

@ -8,7 +8,7 @@ import (
type FeedCacheRepo interface {
Get(bucket string, key string) ([]byte, error)
Exists(bucket string, key string) (bool, error)
Put(bucket string, key string, val []byte, ttl time.Duration) error
Put(bucket string, key string, val []byte, ttl time.Time) error
Delete(bucket string, key string) error
}