service

package
v0.0.0-...-522ee63 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationAPIVersion

func ApplicationAPIVersion(client microClient.Client) (*torrent.ApplicationAPIVersion, error)

func ApplicationBuildInformation

func ApplicationBuildInformation(client microClient.Client) (*torrent.ApplicationBuildInfo, error)

func ApplicationPreferences

func ApplicationPreferences(client microClient.Client) (*torrent.ApplicationPreferences, error)

func ApplicationVersion

func ApplicationVersion(client microClient.Client) (*torrent.ApplicationVersion, error)

func GetTorrentService

func GetTorrentService(client microClient.Client) proto.TorrentService

func LogEntries

func LogEntries(client microClient.Client, options map[string]string) (*torrent.LogEntry, error)

func TorrentContents

func TorrentContents(client microClient.Client, hash string) (*torrent.TorrentContents, error)

func TorrentDecreasePriority

func TorrentDecreasePriority(client microClient.Client, hashes ...string) error

func TorrentDelete

func TorrentDelete(client microClient.Client, hashes ...string) error

func TorrentDeleteWithFiles

func TorrentDeleteWithFiles(client microClient.Client, hashes ...string) error

func TorrentIncreasePriority

func TorrentIncreasePriority(client microClient.Client, hashes ...string) error

func TorrentList

func TorrentList(client microClient.Client) (*torrent.Torrent, error)

func TorrentPause

func TorrentPause(client microClient.Client, hashes ...string) error

func TorrentPiecesHashes

func TorrentPiecesHashes(client microClient.Client, hash string) (*torrent.TorrentPiecesHashes, error)

func TorrentPiecesState

func TorrentPiecesState(client microClient.Client, hash string) (*torrent.TorrentPiecesState, error)

func TorrentProperties

func TorrentProperties(client microClient.Client, hash string) (*torrent.TorrentProperties, error)

func TorrentReAnnounce

func TorrentReAnnounce(client microClient.Client, hashes ...string) error

func TorrentReCheck

func TorrentReCheck(client microClient.Client, hashes ...string) error

func TorrentResume

func TorrentResume(client microClient.Client, hashes ...string) error

func TorrentSetFilePriority

func TorrentSetFilePriority(client microClient.Client, hash string, priority uint64, files ...string) error

func TorrentSetHighestPriority

func TorrentSetHighestPriority(client microClient.Client, hashes ...string) error

func TorrentSetLowestPriority

func TorrentSetLowestPriority(client microClient.Client, hashes ...string) error

func TorrentTrackers

func TorrentTrackers(client microClient.Client, hash string) (*torrent.TorrentTrackers, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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