cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Implementation of parse_toml functions. More...
#include "msgpack_rpc/config/toml/parse_toml.h"
#include <fmt/format.h>
#include <toml++/toml.h>
#include "msgpack_rpc/common/msgpack_rpc_exception.h"
#include "msgpack_rpc/common/status.h"
#include "msgpack_rpc/common/status_code.h"
#include "msgpack_rpc/config/toml/parse_toml_root.h"
Go to the source code of this file.
Namespaces | |
namespace | msgpack_rpc |
Namespace of cpp-msgpack-rpc library. | |
namespace | msgpack_rpc::config |
Namespace of configurations. |
Functions | |
void | msgpack_rpc::config::toml::parse_toml (std::string_view file_path, std::unordered_map< std::string, LoggingConfig > &logging_configs, std::unordered_map< std::string, ClientConfig > &client_configs, std::unordered_map< std::string, ServerConfig > &server_configs) |
Parse configurations from a TOML file. |
Implementation of parse_toml functions.
Definition in file parse_toml.cpp.
void msgpack_rpc::config::toml::parse_toml | ( | std::string_view | file_path, |
std::unordered_map< std::string, LoggingConfig > & | logging_configs, | ||
std::unordered_map< std::string, ClientConfig > & | client_configs, | ||
std::unordered_map< std::string, ServerConfig > & | server_configs ) |
Parse configurations from a TOML file.
[in] | file_path | Path of the TOML file. |
[in] | logging_configs | Configurations of logging. |
[in] | client_configs | Configurations of clients. |
[in] | server_configs | Configurations of servers. |
Definition at line 32 of file parse_toml.cpp.