summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/ngx.upstream.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/OpenResty/library/ngx.upstream.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/OpenResty/library/ngx.upstream.lua')
-rw-r--r--meta/3rd/OpenResty/library/ngx.upstream.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.upstream.lua b/meta/3rd/OpenResty/library/ngx.upstream.lua
new file mode 100644
index 00000000..cee95ce0
--- /dev/null
+++ b/meta/3rd/OpenResty/library/ngx.upstream.lua
@@ -0,0 +1,9 @@
+---@meta
+ngx_upstream={}
+function ngx_upstream.get_backup_peers() end
+function ngx_upstream.get_servers() end
+function ngx_upstream.current_upstream_name() end
+function ngx_upstream.get_primary_peers() end
+function ngx_upstream.set_peer_down() end
+function ngx_upstream.get_upstreams() end
+return ngx_upstream \ No newline at end of file