controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Controller

func Controller(cfg *config.Config, log *zap.Logger) error

func ErrorHandler

func ErrorHandler(errorChan <-chan error, cfg *config.Config, log *zap.Logger)

ErrorHandler centralizes handling of certain errors that may occur during processing.

func SetConcurrency

func SetConcurrency(cfg *config.Config, log *zap.Logger) (int, error)

CalcMaxConcurrent checks if the MaxConcurrentZips is set in the config, if not it calculates an appropriate value

Types

This section is empty.

Jump to

Keyboard shortcuts

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