Documentation
¶
Overview ¶
hello is the reference service: every part of the SDK's author API, each where a real service would put it.
- internal/store: a contrib-style provider (config section + Provider) used as a required dependency and as an optional one (ProbeOptional).
- internal/greeter: a component with Go, Span, Meter, a Singleton, Live configuration with Watch and Validate; declares and publishes Greeted (Key, ID, Header); serves HelloService.
- internal/audit: a reactor on hello.Greeted with a pinned Consumer and delivery options, idempotent through event.DeliveryOf.
- internal/flows: the Greet hook (Call and workflows.CallHook), the Echo activity (Handle) and the workflow-backed Welcome, workflows Declare, Register and a Report workflow for administrative schedules.
- internal/web and internal/legacy: HTTP, GraphQL, middleware and interceptors; a listener of its own announced by svc.API.
- internal/admin: the internal API; HELLO_UI_ASSETS supplies the UI bundle.
Consul, NATS and Temporal are optional: without them hello starts with warnings and the local fallbacks answer.
Click to show internal directories.
Click to hide internal directories.