internal/

directory
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 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.
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 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