TSG-23842 请tfe提供健康状态查询的HTTP服务

This commit is contained in:
luwenpeng
2024-11-20 14:53:45 +08:00
parent ff436e3f26
commit 6a21dd8848
5 changed files with 103 additions and 1 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