跳到正文

Workers for Platforms Example

维护中
cloudflare/workers-for-platforms-example

Cloudflare 官方的 Workers for Platforms 最小示例:用户通过网页上传自己的 Worker,再由分发 Worker 将请求路由过去。

在 GitHub 查看
星标
464
Fork
230
关注
464
未关闭 Issue
28

该介绍目前仅提供英文版本。

Overview

This is a minimal Workers for Platforms project that demonstrates dynamic dispatch. Users create and upload custom Workers through a simple web interface, then reach them via friendly URLs.

What Workers for Platforms is

Workers for Platforms lets your customers build services and customizations powered by Workers, while you keep full control over how their code runs and is billed. Dynamic dispatch namespaces make it possible: a regular fetch handler with a dispatch_namespaces binding becomes a “dispatch Worker” that looks up and calls the right user Worker.

Why use it

  • Create boilerplate functions for your users
  • Handle routing to “user Workers” and sanitize their responses
  • Manage thousands of Workers for your customers from one platform

按共同分类和标签排序的同类开源项目。

全部 Web 框架项目 →