Discover Packages
github.com/pojntfx/htorrent
pkg
server
package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Jun 28, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrEmptyMagnetLink = errors .New ("could not work with empty magnet link")
ErrEmptyPath = errors .New ("could not work with empty path")
ErrCouldNotFindPath = errors .New ("could not find path in torrent")
)
func NewGateway(
laddr string ,
storage string ,
apiUsername string ,
apiPassword string ,
oidcIssuer string ,
oidcClientID string ,
debug bool ,
onDownloadProgress func(peers int , total, completed int64 , path string ),
ctx context .Context ,
) *Gateway
Source Files
¶
Click to show internal directories.
Click to hide internal directories.