mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
ConfigServer: Add methods to list groups and keys
Applications that make use of LibConfig anyway have now a way of listing the groups and keys without resorting to using Core::ConfigFile directly.
This commit is contained in:
parent
2266b4acdb
commit
116d89eec6
3 changed files with 21 additions and 0 deletions
|
@ -4,6 +4,9 @@ endpoint ConfigServer
|
|||
|
||||
monitor_domain(String domain) =|
|
||||
|
||||
list_config_groups(String domain) => (Vector<String> groups)
|
||||
list_config_keys(String domain, String group) => (Vector<String> keys)
|
||||
|
||||
read_string_value(String domain, String group, String key) => (Optional<String> value)
|
||||
read_i32_value(String domain, String group, String key) => (Optional<i32> value)
|
||||
read_bool_value(String domain, String group, String key) => (Optional<bool> value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue