Merge pull request '主动探测模块' (#10) from ykf into main
commit
c3c86adfc4
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,19 @@
|
|||||||
|
#ifndef _NGX_HTTP_UPSTREAM_CHECK_MODELE_H_INCLUDED_
|
||||||
|
#define _NGX_HTTP_UPSTREAM_CHECK_MODELE_H_INCLUDED_
|
||||||
|
|
||||||
|
|
||||||
|
#include <ngx_config.h>
|
||||||
|
#include <ngx_core.h>
|
||||||
|
#include <ngx_http.h>
|
||||||
|
|
||||||
|
ngx_uint_t ngx_http_upstream_check_add_peer(ngx_conf_t *cf,
|
||||||
|
ngx_http_upstream_srv_conf_t *us, ngx_addr_t *peer);
|
||||||
|
|
||||||
|
ngx_uint_t ngx_http_upstream_check_peer_down(ngx_uint_t index);
|
||||||
|
|
||||||
|
void ngx_http_upstream_check_get_peer(ngx_uint_t index);
|
||||||
|
void ngx_http_upstream_check_free_peer(ngx_uint_t index);
|
||||||
|
|
||||||
|
|
||||||
|
#endif //_NGX_HTTP_UPSTREAM_CHECK_MODELE_H_INCLUDED_
|
||||||
|
|
Loading…
Reference in new issue