settings

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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