embed

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 4 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 RuntimeFS

func RuntimeFS() fs.FS

RuntimeFS returns the embedded filesystem for the runtime.

func RuntimeHash

func RuntimeHash(simple bool) (string, error)

RuntimeHash returns a truncated SHA256 hash of the runtime JavaScript.

func RuntimeJS

func RuntimeJS(simple bool) ([]byte, error)

RuntimeJS returns the embedded runtime JavaScript based on the simple flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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