rtorrent

package
v0.0.0-...-49d3f61 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rtorrent

type Rtorrent struct {
	plugins.Base
}

func New

func New(client *docker.Client) (*Rtorrent, error)

func (*Rtorrent) Install

func (self *Rtorrent) Install(opts *RtorrentOpts) error

func (*Rtorrent) RegisterRPC

func (self *Rtorrent) RegisterRPC(server *rpc.Server)

type RtorrentInstallRes

type RtorrentInstallRes struct {
	Message string        `json:"message"`
	Error   bool          `json:"error"`
	Opts    *RtorrentOpts `json:"options"`
}

type RtorrentOpts

type RtorrentOpts struct {
	plugins.BaseOpts
	InternalPort string `json:"internal_port,omitempty"`
	DhtPort      string `json:"dht_port,omitempty"`
}

type RtorrentRPC

type RtorrentRPC struct {
	plugins.BaseRPC
	// contains filtered or unexported fields
}

func (*RtorrentRPC) Install

func (self *RtorrentRPC) Install(opts *RtorrentOpts, job *jobs.Job) error

func (*RtorrentRPC) Reinstall

func (self *RtorrentRPC) Reinstall(opts *RtorrentOpts, job *jobs.Job) error

Jump to

Keyboard shortcuts

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