Documentation
¶
Index ¶
- type AggregatorStore
- func (s *AggregatorStore) Exists(id string) bool
- func (s *AggregatorStore) GetAggregatorReleaseCacheByID(ctx context.Context, id string) (*domain.Release, error)
- func (s *AggregatorStore) GetNZBReader(id string) (io.ReadCloser, error)
- func (s *AggregatorStore) SaveNZBAtomically(id string, data []byte) error
- func (s *AggregatorStore) SearchAggregatorReleaseCache(ctx context.Context, query string, limit int) ([]*domain.Release, error)
- func (s *AggregatorStore) UpsertAggregatorReleaseCache(ctx context.Context, releases []*domain.Release) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatorStore ¶
type AggregatorStore struct {
// contains filtered or unexported fields
}
func NewAggregatorStore ¶
func NewAggregatorStore(blob blob, cache aggregatorCache) *AggregatorStore
func (*AggregatorStore) Exists ¶
func (s *AggregatorStore) Exists(id string) bool
func (*AggregatorStore) GetAggregatorReleaseCacheByID ¶
func (*AggregatorStore) GetNZBReader ¶
func (s *AggregatorStore) GetNZBReader(id string) (io.ReadCloser, error)
func (*AggregatorStore) SaveNZBAtomically ¶
func (s *AggregatorStore) SaveNZBAtomically(id string, data []byte) error
func (*AggregatorStore) SearchAggregatorReleaseCache ¶
func (*AggregatorStore) UpsertAggregatorReleaseCache ¶
Click to show internal directories.
Click to hide internal directories.