ui

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package ui serves the embedded TaskYou web frontend — the same React app the desktop shell renders, so browser and desktop share one codebase.

The assets are embedded only when building with the "ui" tag (the Makefile adds it automatically once desktop/dist has been built and copied here); plain `go build` stays green without Node and serves a pointer page instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available() bool

Available reports whether the frontend was embedded at build time.

func Handler

func Handler() http.Handler

Handler serves the embedded single-page app, falling back to index.html for client-routed paths, or a pointer page when the UI wasn't embedded.

Types

This section is empty.

Jump to

Keyboard shortcuts

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