pkg/

directory
v2.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: GPL-3.0

Directories

Path Synopsis
api
crypto
Package crypto provides AES-256-GCM encryption with HKDF-derived per-session keys for the Zaparoo API WebSocket transport.
Package crypto provides AES-256-GCM encryption with HKDF-derived per-session keys for the Zaparoo API WebSocket transport.
permissions
Package permissions defines client roles and the capability lookup that gates privileged API methods.
Package permissions defines client roles and the capability lookup that gates privileged API methods.
validation
Package validation provides validation for API request parameters using go-playground/validator with custom validators for Zaparoo-specific types.
Package validation provides validation for API request parameters using go-playground/validator with custom validators for Zaparoo-specific types.
Package audio provides cross-platform audio playback using malgo.
Package audio provides cross-platform audio playback using malgo.
perfmetrics
Package perfmetrics captures coarse process and SQLite resource counters for long media operations.
Package perfmetrics captures coarse process and SQLite resource counters for long media operations.
scraper
Package scraper defines the metadata scraper types and generic run loop.
Package scraper defines the metadata scraper types and generic run loop.
scraper/gamelistxml
Package gamelistxml implements a scraper that reads EmulationStation gamelist.xml files to enrich the Zaparoo MediaDB with developer, publisher, genre, rating, year, artwork paths, and descriptions.
Package gamelistxml implements a scraper that reads EmulationStation gamelist.xml files to enrich the Zaparoo MediaDB with developer, publisher, genre, rating, year, artwork paths, and descriptions.
scraper/localmedia
Package localmedia imports EmulationStation-style media folder artwork.
Package localmedia imports EmulationStation-style media folder artwork.
bgpriority
Package bgpriority lowers the scheduling priority of dedicated background worker goroutines so long-running work (media indexing, scraping) yields CPU and storage bandwidth to foreground activity.
Package bgpriority lowers the scheduling priority of dedicated background worker goroutines so long-running work (media indexing, scraping) yields CPU and storage bandwidth to foreground activity.
command
Package command provides an abstraction over exec.Command for testability.
Package command provides an abstraction over exec.Command for testability.
gameid
Package gameid wraps go-gameid disc identification for the two things that need it: the indexer (identify a disc image to store as a media property) and the optical drive reader (identify an inserted disc live).
Package gameid wraps go-gameid disc identification for the two things that need it: the indexer (identify a disc image to store as a media property) and the optical drive reader (identify an inserted disc live).
pathutil
Package pathutil provides path resolution utilities with no dependencies on other Zaparoo packages.
Package pathutil provides path resolution utilities with no dependencies on other Zaparoo packages.
syncutil
Package syncutil provides mutex primitives with optional deadlock detection.
Package syncutil provides mutex primitives with optional deadlock detection.
Package launchables defines shared IDs and URI helpers for platform-owned virtual launch targets.
Package launchables defines shared IDs and URI helpers for platform-owned virtual launch targets.
ids
Package ids provides platform ID constants.
Package ids provides platform ID constants.
mac
mediaslot
Package mediaslot defines media slot identifiers shared across launch, playback, and playlist routing.
Package mediaslot defines media slot identifiers shared across launch, playback, and playlist routing.
shared/esapi
Package esapi provides types and helpers for reading EmulationStation gamelist.xml files.
Package esapi provides types and helpers for reading EmulationStation gamelist.xml files.
shared/esde
Package esde provides shared utilities for EmulationStation Desktop Edition based platforms including ES-DE, Batocera ES, and RetroBat.
Package esde provides shared utilities for EmulationStation Desktop Edition based platforms including ES-DE, Batocera ES, and RetroBat.
shared/esmedia
Package esmedia resolves local EmulationStation-style media folders and paths.
Package esmedia resolves local EmulationStation-style media folders and paths.
shared/linuxbase/gamescope
Package gamescope makes externally launched windows visible and focused in gamescope Gaming Mode sessions.
Package gamescope makes externally launched windows visible and focused in gamescope Gaming Mode sessions.
shared/linuxbase/procscanner
Package procscanner provides a shared process scanner for monitoring multiple types of processes with a single /proc scan.
Package procscanner provides a shared process scanner for monitoring multiple types of processes with a single /proc scan.
shared/linuxbase/proctracker
Package proctracker provides process exit tracking using pidfd_open on Linux 5.3+.
Package proctracker provides process exit tracking using pidfd_open on Linux 5.3+.
shared/retroarch
Package retroarch provides reusable RetroArch CLI launchers.
Package retroarch provides reusable RetroArch CLI launchers.
shared/steam/steamtracker
Package steamtracker provides Steam game lifecycle tracking on Linux.
Package steamtracker provides Steam game lifecycle tracking on Linux.
windows/windowfocus
Package windowfocus activates windows created by launched Windows processes.
Package windowfocus activates windows created by launched Windows processes.
zapos
Package zapos implements the Zaparoo OS appliance platform.
Package zapos implements the Zaparoo OS appliance platform.
testutils
Package testutils provides common testing utilities for reader tests.
Package testutils provides common testing utilities for reader tests.
broker
Package broker provides a simple in-process notification broker for broadcasting messages to multiple consumers without blocking.
Package broker provides a simple in-process notification broker for broadcasting messages to multiple consumers without blocking.
idle
Package idle provides a small scheduler for "run eventually" background work.
Package idle provides a small scheduler for "run eventually" background work.
inbox
Package inbox provides a service for managing persistent system notifications.
Package inbox provides a service for managing persistent system notifications.
profiles
Package profiles implements device profiles: named buckets of preferences and limits.
Package profiles implements device profiles: named buckets of preferences and limits.
testing
helpers
Package helpers provides testing utilities for API operations.
Package helpers provides testing utilities for API operations.
scantest
Package scantest populates media databases in tests through the production staging pipeline.
Package scantest populates media databases in tests through the production staging pipeline.
sqlmock
Package sqlmock provides SQL mocking utilities for testing.
Package sqlmock provides SQL mocking utilities for testing.
ui
events
Package events manages global, transient UI requests.
Package events manages global, transient UI requests.
tui

Jump to

Keyboard shortcuts

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