25 lines
326 B
C
25 lines
326 B
C
#ifndef _HTTP_HEALTHCHECK_H
|
|
#define _HTTP_HEALTHCHECK_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/*
|
|
* [http_healthcheck_server]
|
|
* enable=1
|
|
* port=8080
|
|
* addr="0.0.0.0"
|
|
* path="/status"
|
|
*/
|
|
|
|
void http_healthcheck_server_start(const char *profile);
|
|
void http_healthcheck_server_stop();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|