Documentation
¶
Overview ¶
Greeter service: starts a real gRPC server on :50051 and self-registers with the gateway's control plane. Heartbeats forever; deregisters on SIGINT/SIGTERM.
Also publishes Greetings events to NATS so the `Subscription.greeter_greetings(name: ...)` GraphQL field has a live producer. See README §Subscriptions for the channel-name contract — tl;dr the subject is `events.greeter.Greetings.<name>` (the stringified canonical call); subscribers picking distinct names land on distinct NATS subjects automatically.
Click to show internal directories.
Click to hide internal directories.