Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListItem ¶
type ListItem struct {
// ID is a per-session stable row identity, minted in memory as a row
// enters the bindings and never written to disk. It exists so the overlay
// can key its rendering on it: a row that only moved is then recognised as
// the same row and animated into place, rather than torn down and rebuilt.
// Rows straight out of the parsers carry "" — the file format has nowhere
// to put an ID — and boxItems mints one for each.
ID string
Done bool
// Number is the optional leading count, kept as the raw text the streamer
// typed. Empty means no number, so the list doubles as a plain todo list.
// It stays a string (not an int) because it binds directly to a text Entry
// and because fyne's struct binding can't bind a *int for the empty case.
Number string
Name string
}
type OverlayData ¶
OverlayData is the model passed to the overlay page shell. Title is the document <title>. The heading, items and font size are deliberately absent: they arrive over SSE, which the hub replays to every new subscriber, so the shell has exactly one source of truth instead of two that can disagree. ScriptSource and StyleSource are the URLs of the built overlay UI.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
capystreama
command
Command capystreama is the GUI binary.
|
Command capystreama is the GUI binary. |
|
capystreama-build
command
Command capystreama-build produces a capystreama binary with a chosen set of feature plugins compiled in, in the style of xcaddy.
|
Command capystreama-build produces a capystreama binary with a chosen set of feature plugins compiled in, in the style of xcaddy. |
|
Package core is the application's root package: it defines the module system that wires optional features into the GUI, plus the cross-cutting helpers those features share (application identity, path redaction, the file-browser privacy prompt).
|
Package core is the application's root package: it defines the module system that wires optional features into the GUI, plus the cross-cutting helpers those features share (application identity, path redaction, the file-browser privacy prompt). |
|
Package updater implements signed, self-contained auto-updates against the project's GitLab releases.
|
Package updater implements signed, self-contained auto-updates against the project's GitLab releases. |
|
legacyconfig
Package legacyconfig converts a pre-merge config directory — the four files site.yaml, worlds.yaml, schedule.yaml and theme.json — into the single streamer-config.json the GUI and the website build now use.
|
Package legacyconfig converts a pre-merge config directory — the four files site.yaml, worlds.yaml, schedule.yaml and theme.json — into the single streamer-config.json the GUI and the website build now use. |