engine

package
v0.0.0-...-53359ae Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	DataDirectory string
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine(dataDirectory string) (*Engine, error)

func (*Engine) DropCurrentTorrent

func (e *Engine) DropCurrentTorrent()

func (*Engine) GetFileName

func (e *Engine) GetFileName(i int) string

func (*Engine) RunServer

func (e *Engine) RunServer(port string, index int) error

func (*Engine) RunStatusLoop

func (e *Engine) RunStatusLoop(index int)

func (*Engine) SetTorrentFromPath

func (e *Engine) SetTorrentFromPath(torrentPath string) error

func (*Engine) StopServer

func (e *Engine) StopServer() error

func (*Engine) StopStatusLoop

func (e *Engine) StopStatusLoop()

Jump to

Keyboard shortcuts

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