web

package
v0.0.0-...-9063a13 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Unlicense Imports: 11 Imported by: 0

Documentation

Overview

templ: version: v0.2.543

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetFS

func AssetFS() http.FileSystem

func Base

func Base(head, body templ.Component) templ.Component

func HeadHTML

func HeadHTML() string

func MetaMiddleware

func MetaMiddleware() echo.MiddlewareFunc

func ReloadVite

func ReloadVite()

func Render

func Render(c echo.Context, body templ.Component) error

func SetMeta

func SetMeta(ctx context.Context, m Meta) context.Context

Types

type Meta

type Meta struct {
	URL      *url.URL
	TimeZone *time.Location
}

func GetMeta

func GetMeta(ctx context.Context) Meta

Directories

Path Synopsis
events are emitted from the server HTTP handlers and are consumed in templ templates on the client.
events are emitted from the server HTTP handlers and are consumed in templ templates on the client.
templ: version: v0.2.543
templ: version: v0.2.543
lib contains helper functions.
lib contains helper functions.
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543

Jump to

Keyboard shortcuts

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