Use it for Kubernetes liveness & readiness checks. The middleware opens a HTTP server on port 3001. To check, open the http://localhost:3001/live & http://localhost:3001/ready URL.
{
"state": "up",
"uptime": 7.419,Use it for Kubernetes liveness & readiness checks. The middleware opens a HTTP server on port 3001. To check, open the http://localhost:3001/live & http://localhost:3001/ready URL.
{
"state": "up",
"uptime": 7.419,| // ------------------------------------------------------------------------------------ | |
| // Date Created: Feb. 25, 2014 | |
| // Author: Flipcap Team | |
| // Task No: 117 | |
| // Description: Hello World! Make us a scavenger hunt program. Get 10 stars on GitHub. | |
| // ------------------------------------------------------------------------------------ | |
| #include <iostream> | |
| using namespace std; |