What the Worker is bound to
Everything Cloudflare gives this Worker by name: its databases, buckets and queues, its variables, and the names of its secrets.
Written by charter from wrangler.jsonc, .dev.vars.example and fnox.toml: it is what the app has now, and changes when that does.
Each is a value in the app's Go under the same name (env.DB, env.APP_NAME), so one that is not here cannot be used. A secret's value is never in the repository, and never here.
| In Go | |
|---|---|
| Variables (wrangler.jsonc's vars): Value is what one holds. | env.APP_NAME |