Discover Packages
github.com/dracory/liveflux
examples
counter
command
Version:
v0.26.0
Opens a new window with list of versions in this module.
Published: May 16, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Liveflux Counter Example
A minimal, runnable Liveflux example.
Run
# from the liveflux repo root
go run ./examples/counter
Then open http://localhost:8080
Screenshot
What it does
Renders a server-side Counter using liveflux.SSR
Mounts the JS runtime via liveflux.Script()
Sends actions to /liveflux endpoint
Notes
The component uses c.Root(content) (provided by liveflux.Base) to wrap its markup with the standard Liveflux root and required hidden fields (component, id).
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.