Documentation ¶
Index ¶
- type Engine
- func (e *Engine) DropCurrentTorrent()
- func (e *Engine) GetFileName(i int) string
- func (e *Engine) RunServer(port string, index int) error
- func (e *Engine) RunStatusLoop(index int)
- func (e *Engine) SetTorrentFromPath(torrentPath string) error
- func (e *Engine) StopServer() error
- func (e *Engine) StopStatusLoop()
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 (*Engine) DropCurrentTorrent ¶
func (e *Engine) DropCurrentTorrent()
func (*Engine) GetFileName ¶
func (*Engine) RunStatusLoop ¶
func (*Engine) SetTorrentFromPath ¶
func (*Engine) StopServer ¶
func (*Engine) StopStatusLoop ¶
func (e *Engine) StopStatusLoop()
Click to show internal directories.
Click to hide internal directories.