SaveConfig saves the given Config to disk -- namely, to the App's cfgFile.
(c *config.Config)
| 156 | |
| 157 | // SaveConfig saves the given Config to disk -- namely, to the App's cfgFile. |
| 158 | func (app *App) SaveConfig(c *config.Config) error { |
| 159 | return config.Save(c, app.cfgFile) |
| 160 | } |
| 161 | |
| 162 | // LoadKeys reads all needed keys from disk into the App. In order to use the |
| 163 | // configured `Server.KeysParentDir`, you must call initKeyPaths(App) before |