userver
C++ Async Framework
Loading...
Searching...
No Matches
samples/hello_service/main.cpp
#include <
userver/components/minimal_server_component_list.hpp
>
#include <
userver/utest/using_namespace_userver.hpp
>
#include <
userver/utils/daemon_run.hpp
>
// Note: this is for the purposes of tests/samples only
#include <
userver/utest/using_namespace_userver.hpp
>
#include <hello_handler.hpp>
int
main(
int
argc,
char
* argv[]) {
auto
component_list =
components::MinimalServerComponentList
().
Append
<samples::hello::HelloHandler>();
return
utils::DaemonMain
(argc, argv, component_list);
}
Generated on Tue Nov 19 2024 11:25:18 for userver by
Doxygen
1.10.0