embed

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package embed provides embedded static assets for the GoSPA framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RuntimeChunks added in v0.1.25

func RuntimeChunks() []string

RuntimeChunks returns a list of all JavaScript files in the runtime filesystem.

func RuntimeFS

func RuntimeFS() fs.FS

RuntimeFS returns the embedded filesystem for the runtime.

func RuntimeHash

func RuntimeHash(tier compiler.RuntimeTier) (string, error)

RuntimeHash returns a truncated SHA256 hash of the runtime JavaScript.

func RuntimeJS

func RuntimeJS(tier compiler.RuntimeTier) ([]byte, error)

RuntimeJS returns the embedded runtime JavaScript based on the tier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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