Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheIndexer ¶
type EphemeralBlobStore ¶
type EphemeralBlobStore struct {
// contains filtered or unexported fields
}
optional no-cache mode store (process-memory only).
func NewEphemeralBlobStore ¶
func NewEphemeralBlobStore() *EphemeralBlobStore
func (*EphemeralBlobStore) CreateNZBWriter ¶
func (s *EphemeralBlobStore) CreateNZBWriter(key string) (io.WriteCloser, error)
func (*EphemeralBlobStore) Exists ¶
func (s *EphemeralBlobStore) Exists(key string) bool
func (*EphemeralBlobStore) GetNZBReader ¶
func (s *EphemeralBlobStore) GetNZBReader(key string) (io.ReadCloser, error)
func (*EphemeralBlobStore) SaveNZBAtomically ¶
func (s *EphemeralBlobStore) SaveNZBAtomically(key string, data []byte) error
type FSBlobStore ¶
type FSBlobStore struct {
// contains filtered or unexported fields
}
func NewFSBlobStore ¶
func NewFSBlobStore(blobDir string, cache CacheIndexer) (*FSBlobStore, error)
func (*FSBlobStore) CreateNZBWriter ¶
func (s *FSBlobStore) CreateNZBWriter(id string) (io.WriteCloser, error)
func (*FSBlobStore) Exists ¶
func (s *FSBlobStore) Exists(id string) bool
func (*FSBlobStore) GetNZBReader ¶
func (s *FSBlobStore) GetNZBReader(id string) (io.ReadCloser, error)
func (*FSBlobStore) SaveNZBAtomically ¶
func (s *FSBlobStore) SaveNZBAtomically(id string, data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.