Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
apps/chat/gotth
command
The gotth-live side of equivalence-spec §2.3's chat room.
|
The gotth-live side of equivalence-spec §2.3's chat room. |
|
apps/counter/gotth
command
The gotth-live side of equivalence-spec §2.1's counter — app C-B, and only C-B.
|
The gotth-live side of equivalence-spec §2.1's counter — app C-B, and only C-B. |
|
apps/dashboard/gotth
command
The gotth-live side of equivalence-spec §2.4's live dashboard.
|
The gotth-live side of equivalence-spec §2.4's live dashboard. |
|
docs
|
|
|
guide/_samples
Package samples is the compiled twin of the gotth-live documentation.
|
Package samples is the compiled twin of the gotth-live documentation. |
|
guide/_samples/apptest
Package apptest is the compiled source for docs/guide/testing-your-app.md: a small application, and the specs that hold it to the library's contracts.
|
Package apptest is the compiled source for docs/guide/testing-your-app.md: a small application, and the specs that hold it to the library's contracts. |
|
guide/_samples/architecture
Package architecture is the compiled source for docs/guide/architecture.md.
|
Package architecture is the compiled source for docs/guide/architecture.md. |
|
guide/_samples/deploying
Package deploying is the compiled source for docs/guide/deploying.md.
|
Package deploying is the compiled source for docs/guide/deploying.md. |
|
guide/_samples/effects
Package effects is the compiled source for docs/guide/effects-and-server-push.md.
|
Package effects is the compiled source for docs/guide/effects-and-server-push.md. |
|
guide/_samples/errorhandling
Package errorhandling is the compiled source for docs/guide/error-handling.md.
|
Package errorhandling is the compiled source for docs/guide/error-handling.md. |
|
guide/_samples/events
Package events is the compiled source for docs/guide/events-and-forms.md.
|
Package events is the compiled source for docs/guide/events-and-forms.md. |
|
guide/_samples/fragments
Package fragments is the compiled source for docs/guide/fragments-and-dirty-tracking.md.
|
Package fragments is the compiled source for docs/guide/fragments-and-dirty-tracking.md. |
|
guide/_samples/htmxinterop
Package htmxinterop is the compiled source for docs/guide/htmx-interop.md.
|
Package htmxinterop is the compiled source for docs/guide/htmx-interop.md. |
|
guide/_samples/keychords
Package keychords is the compiled source for the two modifier-aware options on docs/guide/events-and-forms.md: live.Bind.NoModifiers and live.Bind.PreventDefault.
|
Package keychords is the compiled source for the two modifier-aware options on docs/guide/events-and-forms.md: live.Bind.NoModifiers and live.Bind.PreventDefault. |
|
guide/_samples/lifecycle
Package lifecycle is the compiled source for docs/guide/lifecycle-hooks.md.
|
Package lifecycle is the compiled source for docs/guide/lifecycle-hooks.md. |
|
guide/_samples/mounting
Package mounting is the compiled source for the two things docs/quickstart.md §2 explains beside its router: where the live handler is mounted, and where the first paint's state comes from.
|
Package mounting is the compiled source for the two things docs/quickstart.md §2 explains beside its router: where the live handler is mounted, and where the first paint's state comes from. |
|
guide/_samples/observability
Package observability is the compiled source for docs/guide/observability.md.
|
Package observability is the compiled source for docs/guide/observability.md. |
|
guide/_samples/payments
Package payments is the compiled source for the idempotency section of docs/guide/effects-and-server-push.md.
|
Package payments is the compiled source for the idempotency section of docs/guide/effects-and-server-push.md. |
|
guide/_samples/quickstart
command
Command quickstart is the application docs/quickstart.md builds: a number that lives in Go, and a button that changes it.
|
Command quickstart is the application docs/quickstart.md builds: a number that lives in Go, and a button that changes it. |
|
guide/_samples/security
Package security is the compiled source for docs/guide/security.md.
|
Package security is the compiled source for docs/guide/security.md. |
|
internal
|
|
|
arch
Package arch holds this module's architecture tests.
|
Package arch holds this module's architecture tests. |
|
clientcodec
Package clientcodec generates the browser runtime's protobuf codec, its predicate manifest, and the cross-runtime golden vectors, from the same FileDescriptorSet that drives the Go refinement generator.
|
Package clientcodec generates the browser runtime's protobuf codec, its predicate manifest, and the cross-runtime golden vectors, from the same FileDescriptorSet that drives the Go refinement generator. |
|
cmd/gen-clientcodec
command
Command gen-clientcodec generates the browser runtime's protobuf codec.
|
Command gen-clientcodec generates the browser runtime's protobuf codec. |
|
cmd/gotth-live-dev
command
Command gotth-live-dev is the server half of FR-57: it watches a gotth-live application's source, rebuilds it when a Go or templ file changes, and restarts it.
|
Command gotth-live-dev is the server half of FR-57: it watches a gotth-live application's source, rebuilds it when a Go or templ file changes, and restarts it. |
|
livebridge
Package livebridge lets live/livetest construct a value only live can build.
|
Package livebridge lets live/livetest construct a value only live can build. |
|
obs
Package obs is the library's instrumentation: metrics, traces and the provenance log.
|
Package obs is the library's instrumentation: metrics, traces and the provenance log. |
|
obstest
Package obstest records what the library actually emits, so that a spec can assert on a signal rather than on a method having been called.
|
Package obstest records what the library actually emits, so that a spec can assert on a signal rather than on a method having been called. |
|
protocol
Package protocol is the boundary every byte crosses in either direction.
|
Package protocol is the boundary every byte crosses in either direction. |
|
render
Package render turns state into whole HTML fragments.
|
Package render turns state into whole HTML fragments. |
|
session
Package session implements the service that maintains one WebSocket connection's widget state.
|
Package session implements the service that maintains one WebSocket connection's widget state. |
|
wsx
Package wsx is the WebSocket transport, and the only place it exists.
|
Package wsx is the WebSocket transport, and the only place it exists. |
|
Package live serves server-driven live user interfaces from Go.
|
Package live serves server-driven live user interfaces from Go. |
|
livetest
Package livetest provides testing helpers for live applications.
|
Package livetest provides testing helpers for live applications. |
|
test
|
|
|
internal/chaos/cmd/chaossrv
command
Command chaossrv is a live server in its own process, for the one chaos case that cannot be expressed inside the test binary.
|
Command chaossrv is a live server in its own process, for the one chaos case that cannot be expressed inside the test binary. |
|
memory
Package memory is the G2 idle-connection memory harness: the arithmetic half of equivalence-spec §3.6, with the three commands beside it supplying the server under test, the synthetic session driver, and the report.
|
Package memory is the G2 idle-connection memory harness: the arithmetic half of equivalence-spec §3.6, with the three commands beside it supplying the server under test, the synthetic session driver, and the report. |
|
memory/cmd/memdiag
command
Command memdiag reports the G2 remediation diagnostic that diag.sh collects.
|
Command memdiag reports the G2 remediation diagnostic that diag.sh collects. |
|
memory/cmd/memdrv
command
Command memdrv is equivalence-spec §3.6's synthetic session driver for gotth-live: it opens N real sessions against a memsrv, holds them IDLE, and keeps them alive for as long as the harness needs them.
|
Command memdrv is equivalence-spec §3.6's synthetic session driver for gotth-live: it opens N real sessions against a memsrv, holds them IDLE, and keeps them alive for as long as the harness needs them. |
|
memory/cmd/memsrv
command
Command memsrv is the server under test for the G2 idle-connection memory baseline (RFC-0001 §6.1/§6.2, equivalence-spec §3.6).
|
Command memsrv is the server under test for the G2 idle-connection memory baseline (RFC-0001 §6.1/§6.2, equivalence-spec §3.6). |
|
memory/cmd/memstat
command
Command memstat turns the sample files measure.sh collects into the figure equivalence-spec §3.6 defines, and refuses to produce one from a window that is not §3.6's window.
|
Command memstat turns the sample files measure.sh collects into the figure equivalence-spec §3.6 defines, and refuses to produce one from a window that is not §3.6's window. |
|
routers
Package routers holds the FR-33 three-router mount suite and nothing else.
|
Package routers holds the FR-33 three-router mount suite and nothing else. |
|
sampling
Package sampling holds FR-36 clause 4's falsifier and nothing else.
|
Package sampling holds FR-36 clause 4's falsifier and nothing else. |
|
tools
|
|
|
apisurface
command
Command apisurface counts the library's exported surface and holds it against the ledger.
|
Command apisurface counts the library's exported surface and holds it against the ledger. |
|
doccheck
command
Command doccheck holds every exported symbol in the tree to a doc comment, and every godoc example to an output the test runner actually checks.
|
Command doccheck holds every exported symbol in the tree to a doc comment, and every godoc example to an output the test runner actually checks. |
|
minify
command
Command minify builds the files the library serves, and measures them.
|
Command minify builds the files the library serves, and measures them. |
Click to show internal directories.
Click to hide internal directories.