Documentation
¶
Overview ¶
Package settings implements types.SettingsStore: it holds the user-facing server settings, persists them to <appPath>/server-settings.json, and exposes the GUI schema expected by stremio-web's settings panel.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg types.Config) (types.SettingsStore, error)
New creates a SettingsStore seeded with defaults, then merges any previously saved settings from <cfg.AppPath>/server-settings.json. cfg-pinned fields (appPath, cacheRoot, serverVersion) always reflect the current cfg — they are never overwritten by the persisted file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.