OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
Loading...
Searching...
No Matches
HealthCheckController.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#include "
App/RouteController.h
"
5
#include "
App/IOdbServerApp.h
"
6
7
namespace
Odb::App::Server
8
{
9
10
class
HealthCheckController
:
public
Odb::Lib::App::RouteController
11
{
12
public
:
13
HealthCheckController
(
Odb::Lib::App::IOdbServerApp
& serverApp);
14
15
void
register_routes
()
override
;
16
17
private
:
18
crow::response health_check_live(
const
crow::request& req);
19
crow::response health_check_ready(
const
crow::request& req);
20
crow::response health_check_started(
const
crow::request& req);
21
22
};
23
}
IOdbServerApp.h
RouteController.h
Odb::App::Server::HealthCheckController
Definition
HealthCheckController.h:11
Odb::App::Server::HealthCheckController::register_routes
void register_routes() override
Definition
HealthCheckController.cpp:12
Odb::Lib::App::IOdbServerApp
Definition
IOdbServerApp.h:12
Odb::Lib::App::RouteController
Definition
RouteController.h:14
Odb::App::Server
Definition
DesignsController.cpp:17
OdbDesignServer
Controllers
HealthCheckController.h
Generated by
1.9.8