embed

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Addon

func Addon() gowdk.Addon

Addon enables one-binary embedded asset serving.

Types

type Assets

type Assets struct {
	FS http.FileSystem
}

Assets exposes embedded frontend artifacts through http.FileSystem.

func (Assets) FileServer

func (assets Assets) FileServer() http.Handler

FileServer returns an HTTP handler for embedded assets.

type Manifest

type Manifest = asset.Manifest

Manifest aliases the runtime asset manifest used by generated binaries.

Jump to

Keyboard shortcuts

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