userver: userver/hostinfo/blocking/read_groups.hpp Source File
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
read_groups.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/hostinfo/blocking/read_groups.hpp
4/// @brief @copybrief hostinfo::blocking::ReadConductorGroups
5/// @ingroup userver_universal
6
7#include <string>
8#include <vector>
9
10USERVER_NAMESPACE_BEGIN
11
12/// Blocking functions for getting information about hosts
13namespace hostinfo::blocking {
14
15/// @brief Reads Conductor groups from conductor-hostinfo file.
16/// @throw `std::runtime_error` if file cannot be read.
17/// @warning This is a blocking function.
19
20} // namespace hostinfo::blocking
21
22USERVER_NAMESPACE_END