Documentation
¶
Overview ¶
Package examples — workflow patterns that exercise the Hanzo Tasks engine end-to-end via the native ZAP SDK at pkg/sdk/client. Zero go.temporal.io/* and zero google.golang.org/grpc imports.
The samples run against an embedded tasksd boot (see _test.go) so they double as the integration test corpus for every shipped release.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronResult ¶
type HelloResult ¶
type HelloResult struct {
StartedID string
StartedRunID string
BeforeStatus int
AfterStatus int
ListedCount int
}
Hello starts a no-input workflow and confirms its execution record is round-trippable across the full client surface: ExecuteWorkflow → DescribeWorkflow → ListWorkflows → CancelWorkflow → DescribeWorkflow.
The returned Result captures the lifecycle so tests can assert on each transition without re-issuing the calls.