build

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDeployment

func HandleDeployment(w http.ResponseWriter, r *http.Request)

HandleDeployment covers what changes when a BESPA app moves out of local dev: single-binary packaging, CSP posture, automatic cache busting, reverse-proxy headers, and compression.

func HandleErrors

func HandleErrors(w http.ResponseWriter, r *http.Request)

HandleErrors covers the BESPA-specific aspects of error handling.

func HandleForms

func HandleForms(w http.ResponseWriter, r *http.Request)

HandleForms covers forms and validation.

func HandleHandlersRouting

func HandleHandlersRouting(w http.ResponseWriter, r *http.Request)

HandleHandlersRouting covers wiring BESPA handlers into a mux, middleware composition, the EmbedHandler integration point, and CSP / CORS notes.

func HandleLiveData

func HandleLiveData(w http.ResponseWriter, r *http.Request)

HandleLiveData explains BESPA's deliberate non-position on async / live data, and the recipe for plugging in SSE or WebSockets as a custom widget.

func HandleModals

func HandleModals(w http.ResponseWriter, r *http.Request)

HandleModals covers modals and side panels.

func HandleNavigation

func HandleNavigation(w http.ResponseWriter, r *http.Request)

HandleNavigation covers navigation patterns.

func HandleOverview

func HandleOverview(w http.ResponseWriter, r *http.Request)

HandleOverview is the landing page for the "Build apps" track. It frames BESPA as a library and lists the practical-use topics that will be written to cover how to wire up real-world UI.

func HandleRedraw

func HandleRedraw(w http.ResponseWriter, r *http.Request)

HandleRedraw covers when to opt a widget into RedrawIfChanged.

func HandleSessionsAuth

func HandleSessionsAuth(w http.ResponseWriter, r *http.Request)

HandleSessionsAuth covers integrating a session library + auth gates into BESPA handlers. BESPA itself has no session API — this page is the integration pattern.

func HandleState

func HandleState(w http.ResponseWriter, r *http.Request)

HandleState covers state patterns.

func HandleTables

func HandleTables(w http.ResponseWriter, r *http.Request)

HandleTables covers building data tables.

func HandleTheming

func HandleTheming(w http.ResponseWriter, r *http.Request)

HandleTheming covers theming a BESPA page.

func Init

func Init(m *http.ServeMux) error

Init registers the web handlers with the global mux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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