settings

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentSettings added in v0.1.2

func GetCurrentSettings(segments []string) (interface{}, error)

GetCurrentSettings returns the current settings from the specified path the current settings are the settings after being synced

func GetDefaultSettings added in v0.1.2

func GetDefaultSettings(segments []string) (interface{}, error)

GetDefaultSettings returns the default settings from the specified path

func GetSettings

func GetSettings(segments []string) (interface{}, error)

GetSettings returns the settings from the specified path

func GetSettingsFile added in v0.1.2

func GetSettingsFile(segments []string, filename string) (interface{}, error)

GetSettingsFile returns the settings from the specified path of the specified filename

func SetSettings

func SetSettings(segments []string, value interface{}) (interface{}, error)

SetSettings updates the settings

func SetSettingsFile added in v0.1.2

func SetSettingsFile(segments []string, value interface{}, filename string) (interface{}, error)

SetSettingsFile updates the settings

func Shutdown

func Shutdown()

Shutdown settings service

func Startup

func Startup()

Startup settings service

func TrimSettings

func TrimSettings(segments []string) (interface{}, error)

TrimSettings trims the settings

func TrimSettingsFile added in v0.1.2

func TrimSettingsFile(segments []string, filename string) (interface{}, error)

TrimSettingsFile trims the settings in the specified file

Types

This section is empty.

Jump to

Keyboard shortcuts

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