hls_downloader

package
v0.0.0-...-608ebef Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSegmentDownloadTimeout      = xerrors.New("segment download timeout")
	ErrSegmentDownloadClientFactor = xerrors.New("segment download client factor")
)

Functions

This section is empty.

Types

type App

type App struct {
	Config *Config
	Logger *zap.Logger
}

func NewApp

func NewApp(config *Config, logger *zap.Logger) (*App, error)

func (*App) Run

func (app *App) Run(ctx context.Context) error

type Config

type Config struct {
	URI                     string
	Token                   string
	OutputDir               string
	SegmentDownloadTimeout  time.Duration
	PlaylistDownloadTimeout time.Duration
}

Jump to

Keyboard shortcuts

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