TSG-23843 请sce提供健康状态查询的HTTP服务

This commit is contained in:
luwenpeng
2024-11-20 14:27:40 +08:00
parent 1372b39994
commit 5ae3220e13
10 changed files with 150 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
#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