WIP
This commit is contained in:
@@ -96,3 +96,10 @@ func (s *TorrentService) ResumeTorrent(ctx context.Context, hash string) error {
|
||||
func (s *TorrentService) IsConfigured() bool {
|
||||
return s.client != nil
|
||||
}
|
||||
|
||||
func (s *TorrentService) GetStubClient() *torrent.StubClient {
|
||||
if stub, ok := s.client.(*torrent.StubClient); ok {
|
||||
return stub
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user