TSG-23843 请sce提供健康状态查询的HTTP服务
This commit is contained in:
24
common/include/http_healthcheck.h
Normal file
24
common/include/http_healthcheck.h
Normal 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
|
||||
Reference in New Issue
Block a user