internal/

directory
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT

Directories

Path Synopsis
api
Package api implements the Schedularr HTTP API defined by api/openapi.yaml.
Package api implements the Schedularr HTTP API defined by api/openapi.yaml.
gen
Package gen provides primitives to interact with the openapi HTTP API.
Package gen provides primitives to interact with the openapi HTTP API.
middleware
Package middleware provides the HTTP middleware shared by every route on the Schedularr API server: request-id propagation, structured request logging, panic recovery, and bearer-token authentication.
Package middleware provides the HTTP middleware shared by every route on the Schedularr API server: request-id propagation, structured request logging, panic recovery, and bearer-token authentication.
Package blockio provides CUE-validated YAML import/export for scheduling blocks, plus first-run bootstrap of a static scheduler file into the block store (see Bootstrap in bootstrap.go).
Package blockio provides CUE-validated YAML import/export for scheduling blocks, plus first-run bootstrap of a static scheduler file into the block store (see Bootstrap in bootstrap.go).
Package cache provides an in-memory caching mechanism for application data.
Package cache provides an in-memory caching mechanism for application data.
Package config provides configuration loading for Schedularr.
Package config provides configuration loading for Schedularr.
Package cueconfig provides CUE schema-based configuration validation, generation, and loading.
Package cueconfig provides CUE schema-based configuration validation, generation, and loading.
Package events provides the in-process broadcast hub behind GET /api/v1/events.
Package events provides the in-process broadcast hub behind GET /api/v1/events.
external
tunarr
Package tunarr provides a client for interacting with the Tunarr API.
Package tunarr provides a client for interacting with the Tunarr API.
Package httpclient provides a shared HTTP client with retry logic and metrics instrumentation.
Package httpclient provides a shared HTTP client with retry logic and metrics instrumentation.
Package metadata looks up show metadata at external providers and folds their differing genre labels into one canonical vocabulary, so that a block's filter.genres means the same thing no matter which source a Tunarr library was built from.
Package metadata looks up show metadata at external providers and folds their differing genre labels into one canonical vocabulary, so that a block's filter.genres means the same thing no matter which source a Tunarr library was built from.
tmdb
Package tmdb implements metadata.Provider against The Movie Database's v3 REST API.
Package tmdb implements metadata.Provider against The Movie Database's v3 REST API.
tvdb
Package tvdb implements metadata.Provider against TheTVDB's v4 REST API.
Package tvdb implements metadata.Provider against TheTVDB's v4 REST API.
Package metrics provides Prometheus metrics instrumentation for Schedularr.
Package metrics provides Prometheus metrics instrumentation for Schedularr.
Package problem defines the RFC 7807 problem+json error body shared by the Schedularr API's handlers (internal/api) and its HTTP middleware (internal/api/middleware).
Package problem defines the RFC 7807 problem+json error body shared by the Schedularr API's handlers (internal/api) and its HTTP middleware (internal/api/middleware).
Package scheduler provides the core scheduling engine for Schedularr.
Package scheduler provides the core scheduling engine for Schedularr.
Package service hosts the schedule-generation workflow shared by the CLI (cmd/generate.go) and the HTTP API (internal/api/schedule.go): loading the active scheduling blocks, fetching available Tunarr content, running the scheduling engine over a time window, and -- when asked -- pushing the result to Tunarr and committing engine state.
Package service hosts the schedule-generation workflow shared by the CLI (cmd/generate.go) and the HTTP API (internal/api/schedule.go): loading the active scheduling blocks, fetching available Tunarr content, running the scheduling engine over a time window, and -- when asked -- pushing the result to Tunarr and committing engine state.
Package store provides persistence for scheduling state.
Package store provides persistence for scheduling state.

Jump to

Keyboard shortcuts

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