Documentation
¶
Index ¶
- func HandleDeployment(w http.ResponseWriter, r *http.Request)
- func HandleErrors(w http.ResponseWriter, r *http.Request)
- func HandleForms(w http.ResponseWriter, r *http.Request)
- func HandleHandlersRouting(w http.ResponseWriter, r *http.Request)
- func HandleLiveData(w http.ResponseWriter, r *http.Request)
- func HandleModals(w http.ResponseWriter, r *http.Request)
- func HandleNavigation(w http.ResponseWriter, r *http.Request)
- func HandleOverview(w http.ResponseWriter, r *http.Request)
- func HandleRedraw(w http.ResponseWriter, r *http.Request)
- func HandleSessionsAuth(w http.ResponseWriter, r *http.Request)
- func HandleState(w http.ResponseWriter, r *http.Request)
- func HandleTables(w http.ResponseWriter, r *http.Request)
- func HandleTheming(w http.ResponseWriter, r *http.Request)
- func Init(m *http.ServeMux) error
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.
Types ¶
This section is empty.