mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(feeds): ttl and correct field types (#259)
This commit is contained in:
parent
5d032dd075
commit
b7d1f216c0
6 changed files with 19 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue