2023-04-11 21:35:09 +09:00
..
2023-04-09 09:36:27 +09:00
2023-04-09 09:36:27 +09:00
2023-04-09 09:36:27 +09:00
2023-04-11 21:35:09 +09:00
2023-04-11 21:35:09 +09:00
2023-04-09 09:36:27 +09:00
2023-04-09 09:36:27 +09:00
2023-04-09 09:36:27 +09: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

  1. Deploy hello first.
  2. Define service bindings in wrangler.toml.
    services = [
        { binding = "hello", service = "hello" }
    ]
    
  3. Deploy this example.
    make build   # build Go Wasm binary
    make publish # publish worker
    

Documents