mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
service-bindings
- Service bindings are an API that facilitate Worker-to-Worker communication via explicit bindings defined in your configuration.
- In this example, invoke hello using Service bindings.
Development
Requirements
This project requires these tools to be installed globally.
- wrangler
- tinygo
Deploy Steps
- Deploy hello first.
- Define service bindings in
wrangler.toml
.services = [ { binding = "hello", service = "hello" } ]
- Deploy this example.
make build # build Go Wasm binary make deploy # deploy worker