examples/

directory
v1.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: MIT

Directories

Path Synopsis
Command bigtopo is a synthetic large-topology app for stress-testing the dashboard's architecture graph (drill-down, edge bundling, level-of-detail, layout/perf) at ~1000 nodes — far beyond what the small examples produce.
Command bigtopo is a synthetic large-topology app for stress-testing the dashboard's architecture graph (drill-down, edge bundling, level-of-detail, layout/perf) at ~1000 nodes — far beyond what the small examples produce.
An example showing nexus's top-level builder: nexus.Run composes modules, nexus.Provide / Invoke / Module replace fx.Provide / Invoke / Module — no go.uber.org/fx import in user code.
An example showing nexus's top-level builder: nexus.Run composes modules, nexus.Provide / Invoke / Module replace fx.Provide / Invoke / Module — no go.uber.org/fx import in user code.
Example: a complete GraphQL service wired with nexus's reflective controller API.
Example: a complete GraphQL service wired with nexus's reflective controller API.
Command inertia is a small Inertia app whose pages are registered with the //@inertia.Page custom decorator (see ./pages).
Command inertia is a small Inertia app whose pages are registered with the //@inertia.Page custom decorator (see ./pages).
pages
Package pages holds the Inertia page handlers, registered via the //@inertia.Page custom decorator — the codegen emits decorate.Record(inertia.Page("GET", "/users", "Users/Index", NewUsers)), reusing the extension's existing Option-returning registrar with no wrapper.
Package pages holds the Inertia page handlers, registered via the //@inertia.Page custom decorator — the codegen emits decorate.Record(inertia.Page("GET", "/users", "Users/Index", NewUsers)), reusing the extension's existing Option-returning registrar with no wrapper.
widgets
Package widgets is a stand-in for an extension (think inertia) that ships its OWN decorator.
Package widgets is a stand-in for an extension (think inertia) that ships its OWN decorator.
Demonstrates nexus's typed pub/sub primitive end-to-end:
Demonstrates nexus's typed pub/sub primitive end-to-end:
Command wsecho is a runnable demo of nexus.AsWS: one WebSocket path (/events) with two typed message handlers (chat.send + chat.typing) sharing one connection pool.
Command wsecho is a runnable demo of nexus.AsWS: one WebSocket path (/events) with two typed message handlers (chat.send + chat.typing) sharing one connection pool.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL