【文件属性】:
文件名称:cloudflare-workers:我的Cloudflare Workers脚本集合
文件大小:21KB
文件格式:ZIP
更新时间:2021-04-28 16:30:13
TypeScript
Cloudflare工人
脚本是可以在Cloudflare的边缘服务器上运行的Javascript程序,全部有。 它们基于建模,目前处于公开测试阶段。
工人动物园
此回购协议只是与我的工作人员一起使用时所收藏的Cloudflare Workers:
-Prometheus的blackbox-exporter HTTP探针的实现。
$ curl 'thisisbinh.me/worker/http_prober?module=http_get_2xx&target=http://example.com/'
probe_success 0
probe_duration_seconds 0.694
probe_http_status_code 200
probe_http_redirected 1
probe_http_content_length -1
从Cloudflare的角度来看,
【文件预览】:
cloudflare-workers-master
----package.json(568B)
----tests()
--------http_prober_test.ts(8KB)
----package-lock.json(22KB)
----dist()
--------echo.js(928B)
--------http_prober.js(8KB)
--------proxy.js(957B)
--------race.js(972B)
----src()
--------proxy.ts(1KB)
--------http_prober.ts(10KB)
--------echo.ts(1KB)
--------race.ts(1KB)
----tsconfig.json(226B)
----.gitignore(21B)
----Makefile(863B)
----README.md(2KB)