web

package
v0.4.41 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package web embeds the built flow-editor SPA (a thin host around @tinysystems/editor) and serves it as an http.Handler. The tiny CLI hands this to flow.Serve as the static fallback for any non-gRPC-web request, so the editor and its FlowService backend share one localhost origin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() (http.Handler, error)

Handler serves the SPA: static assets by path, with an index.html fallback so a reload on any route still boots the app.

Types

This section is empty.

Jump to

Keyboard shortcuts

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