Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexerApiClient ¶
type IndexerApiClient interface { GetTorrentByID(ctx context.Context, torrentID string) (*domain.TorrentBasic, error) TestAPI(ctx context.Context) (bool, error) }
func NewMockClient ¶
func NewMockClient(apiKey string, opts ...OptFunc) IndexerApiClient
type IndexerClient ¶
type IndexerClient struct { APIKey string // contains filtered or unexported fields }
func (*IndexerClient) GetTorrentByID ¶
func (c *IndexerClient) GetTorrentByID(ctx context.Context, torrentID string) (*domain.TorrentBasic, error)
Click to show internal directories.
Click to hide internal directories.