wiring

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildArrNotifier

func BuildArrNotifier(ctx context.Context, appCtx *app.Context) error

func BuildDownloader

func BuildDownloader(appCtx *app.Context) error

Build downloader-owned runtime from app context config.

func BuildInitialRuntime

func BuildInitialRuntime(appCtx *app.Context) error

Central runtime assembly entrypoint so cmd/main stays thin

func BuildUsenetIndexer

func BuildUsenetIndexer(appCtx *app.Context) error

Build current effective Usenet/NZB Indexer runtime from app context.

func IsDownloaderReloadDeferred

func IsDownloaderReloadDeferred(err error) bool

func ReloadDownloaderIfIdle

func ReloadDownloaderIfIdle(appCtx *app.Context) error

Safely reload downloader runtime when queue is idle.

func RunIndexerScrapeScheduler

func RunIndexerScrapeScheduler(ctx context.Context, appCtx *app.Context) error

Long-running scrape mode restart loop lives outside cmd/main.

func StartServerBackgroundLoops

func StartServerBackgroundLoops(ctx context.Context, appCtx *app.Context) error

StartServerBackgroundLoops starts only the long-running loops that should exist in API/server mode after runtime validation has passed.

func ValidateRuntimeForServer

func ValidateRuntimeForServer(appCtx *app.Context) error

Optional helper if you want a shared error string in callers later.

func WatchSettings

func WatchSettings(ctx context.Context, appCtx *app.Context)

Server-mode settings watcher moved out of cmd/main.

Types

This section is empty.

Jump to

Keyboard shortcuts

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