www

package
v0.1.13 Latest Latest
Warning

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

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

Documentation

Overview

Package www embeds the built clicky-ui single-page app and serves it with an index.html fallback for client-side routes. The real assets are produced by `vite build` into dist/; a placeholder index.html is committed so the binary builds and runs before a frontend build has happened.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() (http.Handler, error)

Handler returns an http.Handler that serves the embedded SPA. Existing files under dist/ are served directly; unknown non-asset paths fall back to index.html so client-side routing works.

Types

This section is empty.

Jump to

Keyboard shortcuts

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