Discover Packages
github.com/danstis/Plex-Sync
config
package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Dec 10, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
UpdateConfig sets the configuration settings in the config TOML file.
type Settings struct {
WebServerPort int
CacheLifetime int
SyncInterval int
Logging logging `toml:"logging"`
LocalServer plex .Host `toml:"localserver"`
RemoteServer plex .Host `toml:"remoteserver"`
}
Settings defines the program configureation
GetConfig returns the application configuration from the config TOML file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.