mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(feeds): torznab update and delete (#346)
* fix(feeds): torznab update and delete * fix(feeds): repo cache exists check err
This commit is contained in:
parent
72d4942104
commit
c1df9c817f
6 changed files with 90 additions and 34 deletions
|
@ -9,7 +9,8 @@ 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.Time) error
|
||||
Delete(bucket string, key string) error
|
||||
Delete(ctx context.Context, bucket string, key string) error
|
||||
DeleteBucket(ctx context.Context, bucket string) error
|
||||
}
|
||||
|
||||
type FeedRepo interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue