downloadmanager

package
v0.0.0-...-6248b73 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadManager

type DownloadManager struct {
	// contains filtered or unexported fields
}

func New

func New(opts *Options, registry downloader.Registry) (*DownloadManager, error)

func (*DownloadManager) Run

func (d *DownloadManager) Run(ctx context.Context)

type Options

type Options struct {
	DownloadRootDir  string
	LocalRootDir     string
	NoticeServerPort int
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(s *flag.FlagSet)

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

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