Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Inject ¶
func (s *Service) Inject(ctx context.Context, meta api.PreparedMetadata, torrent api.TorrentResult) error
Inject dispatches a prepared torrent to the configured injection clients. URL-only torrents require a URL-capable client unless global/default fallback can select one; explicit tracker or caller selections that resolve only to watch-folder clients return internalerrors.ErrInvalidInput instead of a successful no-op.
func (*Service) SearchPathedTorrents ¶
func (s *Service) SearchPathedTorrents(ctx context.Context, meta api.PreparedMetadata) (api.ClientSearchResult, error)
Click to show internal directories.
Click to hide internal directories.