MCPcopy
hub / github.com/autobrr/autobrr / ApiClient

Interface ApiClient

pkg/ops/ops.go:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23const DefaultURL = "https://orpheus.network/ajax.php"
24
25type ApiClient interface {
26 GetTorrentByID(ctx context.Context, torrentID string) (*domain.TorrentBasic, error)
27 TestAPI(ctx context.Context) (bool, error)
28}
29
30type Client struct {
31 url string

Callers

nothing calls this directly

Implementers 6

Clientpkg/ops/ops.go
Clientpkg/ggn/ggn.go
Clientpkg/ptp/ptp.go
Clientpkg/red/red.go
Clientpkg/btn/client.go
IndexerClientinternal/mock/indexer_api.go

Calls

no outgoing calls

Tested by

no test coverage detected