diff --git a/404.html b/404.html new file mode 100644 index 000000000..7d49a936c --- /dev/null +++ b/404.html @@ -0,0 +1,2685 @@ + + + +
+ + + + + + + + + + + + + + +curl 示例 curl -H 'Authorization: Bearer ${secret}' http://${controller-api}/version
此请求附带 'Authorization: Bearer ${secret}'
请求头,其中:
/logs
¶请求方法: GET
/traffic
¶请求方法: GET
/memory
¶请求方法: GET
/version
¶请求方法: GET
/cache/fakeip/flush
¶请求方法: POST
/configs
¶请求方法: GET
请求方法: PUT
?force=true
强制执行,必须发送数据curl "${controller-api}/configs?force=true" -X PUT -d '{"path": "", "payload": ""}'
请求方法: PATCH
curl ${controller-api}/configs -X PATCH -d '{"mixed-port": 7890}'
/configs/geo
¶请求方法: POST
curl "${controller-api}/configs" -X POST -d '{"path": "", "payload": ""}'
/restart
¶请求方法: POST
curl "${controller-api}/restart " -X POST -d '{"path": "", "payload": ""}'
/upgrade/
¶请求方法: POST
curl "${controller-api}/upgrade" -X POST -d '{"path": "", "payload": ""}'
/upgrade/ui
¶请求方法: POST
curl "${controller-api}/upgrade/ui" -X POST
/proxies
¶请求方法: GET
/proxies/:name
¶请求方法: GET
请求方法: PUT
/proxies/:name/delay
¶请求方法: GET
/rules
¶请求方法: GET
/connections
¶请求方法: GET
请求方法: DELETE
/connections/:id
¶请求方法: DELETE
/providers/proxies
¶请求方法: GET
/providers/proxies/:name
¶请求方法: GET
请求方法: PUT
/providers/proxies/:name/healthcheck
¶请求方法: GET
/providers/rules
¶请求方法: GET
/providers/rules/:name
¶请求方法: PUT
/dns/query
¶请求方法: GET
参数
+name
(必填): 要查询的域名。type
(可选): 要查询的 DNS 记录类型(例如,A、MX、CNAME 等)示例: GET /dns/query?name=example.com&type=A
/debug
需要内核启动时 日志级别 为 debug
/debug/gc
¶请求方法: PUT
curl "${controller-api}/debug/gc" -X PUT
/debug/pprof
¶浏览器打开 http://${controller-api}/debug/pprof
可查看原始 DEBUG 信息,其中:
浏览器访问 http://${controller-api}/debug/pprof/heap?raw=true
即可下载这个文件,通过上传到 issues 提交你遇到的问题。
{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var Va=/["'&<>]/;qn.exports=za;function za(e){var t=""+e,r=Va.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i