Documentation
¶
Overview ¶
Package app wires Ether's components into one running server: the Plex front end and the owner UI on one port, and the background services (catalogue sync, plex.tv registration, prefetch, LAN discovery) behind it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnresponsive = errors.New("app: server unresponsive to local health probes")
ErrUnresponsive is returned by App.Run when the server stopped answering its own local health probe. The process then exits non-zero so the service manager restarts it.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is a running Ether server.
func (*App) Close ¶
func (a *App) Close()
Close releases every component in reverse order of construction.
type Options ¶
type Options struct {
// NotificationExecutable enables the independent crash watcher for executable runs.
NotificationExecutable string
DataDir string
Version string
// Logger receives everything; the admin log ring is teed onto it.
Logger *slog.Logger
// Spike forces spike mode (local files, no Usenet) on top of config.
Spike bool
// SpikeFiles are extra local files for spike mode.
SpikeFiles []string
// DBRetryMin / DBRetryMax bound the backoff while a clustered node
// waits at startup for an unreachable PostgreSQL server (1s / 30s).
DBRetryMin, DBRetryMax time.Duration
// contains filtered or unexported fields
}
Options configure a run.
Source Files
¶
- admin.go
- adoption.go
- app.go
- availability.go
- availability_catalog.go
- backup_alerts.go
- budgets.go
- build_catalogue.go
- build_identity.go
- build_integrations.go
- build_personalization.go
- build_playback.go
- build_prefetch.go
- build_sources.go
- cache.go
- cluster.go
- cluster_manage.go
- cluster_settings.go
- cluster_setup.go
- collections.go
- compatibility.go
- credentials.go
- dbhealth.go
- diagnostics.go
- direct_only.go
- discovery.go
- egress.go
- extensions.go
- extras.go
- home_rows.go
- indexersites.go
- insights.go
- instance_lock.go
- instance_lock_unix.go
- lanonly.go
- listener.go
- livetv.go
- maintenance.go
- owner_playback.go
- playback_policy.go
- plex.go
- preupgrade.go
- retired_schema.go
- rolling.go
- save_validated.go
- schedules.go
- simkl.go
- streams.go
- subtitle_sync.go
- support.go
- updates.go
- usenet_proxy.go
- watchdog.go
Click to show internal directories.
Click to hide internal directories.