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(url string, apiKey string) IndexerApiClient
type IndexerClient ¶
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.