localapp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package localapp embeds the local application. Only a release commit, the commit a v* tag points at, carries the built assets, so go install of a tagged version needs only Go. Elsewhere, build them with "just viewer-build" (or pnpm --dir app build inside Docker); a binary built without them answers with viewer.NotBuilt in place of the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assets

func Assets() fs.FS

func Handler

func Handler() http.Handler

Handler serves the embedded application for uiserver.Options.App, which strips the session namespace before calling it. The application routes with query strings on its base path, so only "/" and existing files are served; directories are never listed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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