adapters

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 (s *AggregatorStore) GetAggregatorReleaseCacheByID(ctx context.Context, id string) (*domain.Release, error)

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 (s *AggregatorStore) SearchAggregatorReleaseCache(ctx context.Context, query string, limit int) ([]*domain.Release, error)

func (*AggregatorStore) UpsertAggregatorReleaseCache

func (s *AggregatorStore) UpsertAggregatorReleaseCache(ctx context.Context, releases []*domain.Release) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL