start

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 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 Command

type Command struct {
	ytbackup.Command
	DisableDownload bool `long:"disable-download" description:"Do not download videos" env:"YTBACKUP_DISABLE_DOWNLOAD"`
	Python          *python.Python
}

func (*Command) Execute

func (cmd *Command) Execute([]string) error

func (*Command) RunAPICrawler

func (cmd *Command) RunAPICrawler(ctx context.Context) error

func (*Command) RunDownloader

func (cmd *Command) RunDownloader(ctx context.Context) error

func (*Command) RunEnqueuer

func (cmd *Command) RunEnqueuer(ctx context.Context) error

func (*Command) RunHistoryCrawler

func (cmd *Command) RunHistoryCrawler(ctx context.Context) error

type Progress

type Progress struct {
	Total      uint64
	Downloaded uint64
	Done       string
	Finished   bool
}

type Result

type Result struct {
	ID    string
	Files []index.File
}

Jump to

Keyboard shortcuts

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