Documentation
¶
Overview ¶
Package dashboard ships the SPA + login page that the gateway serves. The Go file sits next to www/ so //go:embed can resolve without crossing package boundaries; the binary in cmd/clawpatrol imports it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DistFS embed.FS
DistFS is the built SPA bundle (`dashboard/dist`) embedded at compile time. The gateway serves these assets from the dashboard HTTP handler.
View Source
var LoginHTML string
LoginHTML is the standalone login page served before a dashboard session cookie is established.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.