Expand description
A dyncfg::ConfigSet backed by a local JSON file.
Structsยง
- Synced
Config ๐Set
Functionsยง
- json_
to_ ๐config_ val - Convert a JSON value to a ConfigVal, using the existing value as a template for the type
- sync_
file_ to_ configset - Start a background task that syncs a ConfigSet with a local JSON file.
Returns
Ok
after the initial sync is completed. If the initialization takes longer thanconfig_sync_timeout
, an error is returned.