userver: dynamic_config::RegisteredConfigMeta Struct Reference
Loading...
Searching...
No Matches
dynamic_config::RegisteredConfigMeta Struct Referencefinal

#include <userver/dynamic_config/registered_config_meta.hpp>

Detailed Description

Metadata of a single registered dynamic_config::Key.

Note
Both fields are string_views into the static global registry. The registry is append-only and its storage is never freed, so the views remain valid for the lifetime of the process. However, do not store RegisteredConfigMeta across calls that could modify the registry (i.e. do not capture it before static initialisation completes).

Definition at line 20 of file registered_config_meta.hpp.

Public Attributes

std::string_view name
std::string_view schema_hash

Member Data Documentation

◆ name

std::string_view dynamic_config::RegisteredConfigMeta::name

Definition at line 21 of file registered_config_meta.hpp.

◆ schema_hash

std::string_view dynamic_config::RegisteredConfigMeta::schema_hash

SHA-256(canonical JSON of schema), lowercase hex, 64 chars. Empty for keys not generated by chaotic.

Definition at line 24 of file registered_config_meta.hpp.


The documentation for this struct was generated from the following file: