Documentation
¶
Overview ¶
Package web serves the compiled SvelteKit UI embedded in the binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InlineScriptHashes ¶
InlineScriptHashes hashes the body of every <script> without a src attribute in files/index.html, in document order, without duplicates.
func ScriptHashes ¶
func ScriptHashes() []string
ScriptHashes returns the CSP sources ('sha256-…') of the inline scripts of the embedded index.html (SvelteKit's bootstrap); empty if the UI is not built.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.