site

package module
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 8 Imported by: 0

README ¶

tinywasm/site

Project Badges

Site rendering engine for Go (WASM-friendly).

A lightweight rendering layer built on top of tinywasm/dom, designed to generate web pages with minimal overhead. Provides small, efficient primitives for composing views, routing, and rendering UI structures while keeping WebAssembly binaries tiny and dependency-free.

📚 Documentation

  1. Architecture: High-level overview and design goals.
  2. Modules: Routes and modular structure.
  3. Components: UI building blocks and icons.
  4. Routing: Typed routing and path generation.
  5. Access Control: Security and SSR vs SPA logic.
  6. Assets: Bundling and resource management.

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func Mount ¶ added in v0.0.5

func Mount(mux *http.ServeMux) error

Mount configures the server handled by site. It initializes assetmin and registers all routes.

func RegisterHandlers ¶

func RegisterHandlers(handlers ...any) error

RegisterHandlers registers all handlers with site and crudp

Types ¶

This section is empty.

Directories ¶

Path Synopsis
example
web command

Jump to

Keyboard shortcuts

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