Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
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). |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
proto
|
|
Click to show internal directories.
Click to hide internal directories.