manager

package
v2.0.155-beta Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConcurrentFiles         = 50
	ConcurrentFileParts     = 75
	ConcurrentDirectoryList = 100
)

Functions

func Wait

func Wait(ctx context.Context, manager goccm.ConcurrencyManager) bool

Types

type Manager

type Manager struct {
	FilesManager            goccm.ConcurrencyManager
	FilePartsManager        goccm.ConcurrencyManager
	DirectoryListingManager goccm.ConcurrencyManager
}

func Build

func Build(maxConcurrentConnections, maxConcurrentDirectoryLists int) *Manager

func Default

func Default() *Manager

func New

func New(files, fileParts, directoryListing int) *Manager

func Sync

func Sync() *Manager

Jump to

Keyboard shortcuts

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