full

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package full generates the full client for multiple torrents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(torrents *[]string, dir *string, port *uint, logging, encrypt *bool, theme *styles.ColorTheme, keys CustomKeyMap)

Execute creates the initial model and a Bubble Tea program, and aborts the client if that fails.

Types

type CustomKey added in v0.1.3

type CustomKey struct {
	Key, Icon, Desc string
}

type CustomKeyMap added in v0.1.3

type CustomKeyMap struct {
	Home struct {
		Up, Down, Next,
		Prev, Add, Delete,
		Details, Deselect,
		Help, Quit CustomKey
	}
	AddTorrent struct {
		Quit, Prev,
		Next CustomKey
	} `toml:"add-torrent"`
}

func (CustomKeyMap) ToKeys added in v0.1.3

func (c CustomKeyMap) ToKeys()

ToKeys changes the default homeKeys and addTorrentKeys key bindings if there is user configuration.

Jump to

Keyboard shortcuts

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