magnet

package
v0.0.0-...-ed00c80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TorrentToManget

func TorrentToManget(fn string) (string, error)

TorrentToMagent ...

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client ...

func NewClient

func NewClient(ctx context.Context, info db.DownloadInfo, feedback chan<- gtea.Message) (*Client, error)

NewClient ...

func (*Client) Download

func (c *Client) Download()

Download blocks due to download blocks

type DownloadFeedback

type DownloadFeedback struct {
	Downloaded int64  `json:"downloaded,omitempty"`
	Speed      int64  `json:"speed,omitempty"`
	Msg        string `json:"message,omitempty"`
}

DownloadFeedback ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL