Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Widget ¶
type Widget struct { view.ScrollableWidget // contains filtered or unexported fields }
Widget is the container for transmission data
func NewWidget ¶
func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget
NewWidget creates a new instance of a widget
func (*Widget) Fetch ¶
func (widget *Widget) Fetch() ([]*transmissionrpc.Torrent, error)
Fetch retrieves torrent data from the Transmission daemon
Click to show internal directories.
Click to hide internal directories.