Directories
¶
| Path | Synopsis |
|---|---|
|
Package demo installs the example's cross-service binding and event rule through the public console API.
|
Package demo installs the example's cross-service binding and event rule through the public console API. |
|
cmd/bind
command
Command bind saves binding definitions (YAML files, as the console's editor shows them) through the console API: a scriptable Wiring save for development stacks.
|
Command bind saves binding definitions (YAML files, as the console's editor shows them) through the console API: a scriptable Wiring save for development stacks. |
|
cmd/setup
command
setup connects hello and formatter using the console API.
|
setup connects hello and formatter using the console API. |
|
formatter
|
|
|
cmd/formatter
command
formatter is hello's independently compiled companion service.
|
formatter is hello's independently compiled companion service. |
|
internal/formatter
Package formatter is an independent service capability.
|
Package formatter is an independent service capability. |
|
hello
|
|
|
cmd/hello
command
hello is the reference service: every part of the SDK's author API, each where a real service would put it.
|
hello is the reference service: every part of the SDK's author API, each where a real service would put it. |
|
internal/admin
Package admin is hello's internal API, for its console plugin only: gRPC on the platform port behind the internal secret.
|
Package admin is hello's internal API, for its console plugin only: gRPC on the platform port behind the internal secret. |
|
internal/audit
Package audit reacts to the service's own Greeted event: a reactor is a durable consumer, so it sees every greeting of every instance, once each (it is idempotent under redelivery).
|
Package audit reacts to the service's own Greeted event: a reactor is a durable consumer, so it sees every greeting of every instance, once each (it is idempotent under redelivery). |
|
internal/flows
Package flows is hello's side of Temporal: the hook it raises (Greet), the activities it offers to bindings (Echo, and Welcome backed by a workflow), its own workflows (GreetMany, declared for the console; Report, available for an administrative schedule) and the activities those run.
|
Package flows is hello's side of Temporal: the hook it raises (Greet), the activities it offers to bindings (Echo, and Welcome backed by a workflow), its own workflows (GreetMany, declared for the console; Report, available for an administrative schedule) and the activities those run. |
|
internal/greeter
Package greeter is the service's domain component: it serves HelloService over every public protocol with one implementation and raises Greeted after every greeting.
|
Package greeter is the service's domain component: it serves HelloService over every public protocol with one implementation and raises Greeted after every greeting. |
|
internal/hellotest
Package hellotest builds hello's components under a backplanetest harness, as NewState wires them, for the component tests.
|
Package hellotest builds hello's components under a backplanetest harness, as NewState wires them, for the component tests. |
|
internal/legacy
Package legacy is a listener hello serves itself, outside the SDK's public port: the service announces it with a declarative route (svc.API(api.HTTP(...))) so its API appears in the catalog.
|
Package legacy is a listener hello serves itself, outside the SDK's public port: the service announces it with a declarative route (svc.API(api.HTTP(...))) so its API appears in the catalog. |
|
internal/store
Package store stands in for an infra package (pkg/backplane/infra/postgres, infra/valkey): a config section plus a deps.Provider built from it.
|
Package store stands in for an infra package (pkg/backplane/infra/postgres, infra/valkey): a config section plus a deps.Provider built from it. |
|
internal/web
Package web holds hello's HTTP-facing pieces: the /hello/ handler, a tiny GraphQL endpoint, the middleware and the gRPC interceptors its routes are declared with.
|
Package web holds hello's HTTP-facing pieces: the /hello/ handler, a tiny GraphQL endpoint, the middleware and the gRPC interceptors its routes are declared with. |
Click to show internal directories.
Click to hide internal directories.