internal/

directory
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: GPL-2.0, GPL-3.0

Directories

Path Synopsis
Package library declares the Library value type used to represent a Plex library (Movies, TV, Music, etc.) along with the pure classification helpers (IsType, ContentTypeLabel, Build, ItemCountTypes).
Package library declares the Library value type used to represent a Plex library (Movies, TV, Music, etc.) along with the pure classification helpers (IsType, ContentTypeLabel, Build, ItemCountTypes).
Package metrics holds the Prometheus descriptor set (labels, descs, errorTypes allowlist) shared by the collector.
Package metrics holds the Prometheus descriptor set (labels, descs, errorTypes allowlist) shared by the collector.
Package plex provides the HTTP client used to talk to a Plex Media Server, including retry semantics and the httpStatusError sentinel types used by callers to distinguish 4xx from 5xx responses.
Package plex provides the HTTP client used to talk to a Plex Media Server, including retry semantics and the httpStatusError sentinel types used by callers to distinguish 4xx from 5xx responses.
Package plexapi declares the JSON/XML wire-format types exchanged with Plex Media Server and the websocket notification envelope.
Package plexapi declares the JSON/XML wire-format types exchanged with Plex Media Server and the websocket notification envelope.
Package server contains the plexServer orchestrator: the refresh loop, per-subsystem refresh methods, and the Prometheus Describe/Collect implementation that emits metrics from plexServer state.
Package server contains the plexServer orchestrator: the refresh loop, per-subsystem refresh methods, and the Prometheus Describe/Collect implementation that emits metrics from plexServer state.
Package sessions maintains the in-memory active-session tracker updated by the websocket listener and snapshotted by the collector.
Package sessions maintains the in-memory active-session tracker updated by the websocket listener and snapshotted by the collector.
Package wsclient implements the websocket listener that connects to Plex's notification channel and dispatches playing / transcode-update events into the session tracker.
Package wsclient implements the websocket listener that connects to Plex's notification channel and dispatches playing / transcode-update events into the session tracker.

Jump to

Keyboard shortcuts

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