2023-06-24 10:19:35 +09:00
..
2023-04-30 12:42:20 +09:00
2023-04-30 12:46:34 +09:00
2023-04-30 12:42:20 +09:00
2023-04-30 12:42:20 +09:00
2023-06-24 10:19:35 +09:00
2023-04-30 12:42:20 +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 deploy # deploy worker
    

Documents