userver: samples/production_service/production_service.cpp
Loading...
Searching...
No Matches
samples/production_service/production_service.cpp
#include <userver/alerts/handler.hpp>
#include <userver/storages/secdist/provider_component.hpp>
int main(int argc, char* argv[]) {
const auto component_list =
.Append<components::DefaultSecdistProvider>()
.Append<alerts::Handler>()
// Put your handlers and components here
;
return utils::DaemonMain(argc, argv, component_list);
}