# Functions
GetCurrentSettings returns the current settings from the specified path the current settings are the settings after being synced.
GetDefaultSettings returns the default settings from the specified path.
GetSettings returns the settings from the specified path.
GetSettingsFile returns the settings from the specified path of the specified filename.
GetUID returns the UID of the system Replace this in the settings service in golang-shared.
GetUIDOpenwrt returns the UID of the system.
NewSyncSettings creates a new settings object.
RegisterSyncCallback registers a callback.
SetOS sets the os for settings to use.
SetSettings updates the settings.
SetSettingsFile updates the settings.
SetSighupProperties sets the properties of running sighup, such as if it should and the process to sighup @param shouldRunSighup - true if sighup should be run after callsbacks, false otherwise @param sighupExecutable - executable to call sighup on, empty string if none.
Shutdown settings service.
Startup settings service.
TrimSettings trims the settings.
TrimSettingsFile trims the settings in the specified file.
# Variables
OSForSyncSettings is the os sync-settings should use.
ShouldRunSighup is if sighup should be run after sync-settings callbacks.
SighupExecutable is the executable to run for sighup if necessary.
# Structs
AffectedValue represents each affected item that will be read by the UI.
Confirmation represents the array of invalid items from sync-settings.
InvalidItem represents the invalid item from sync-settings with child/parent id, reason, value, and type.
SetSettingsError represents the top structure from sync-settings with CONFIRM so we can pick up the error.
SetSettingsErrorUI represents the structure sent to the UI for reading the error.
SyncSettings is the struct holding sync-settings information.