render

package
v0.0.0-...-8f5d98f Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component func() templ.Component

func ApplyLayout

func ApplyLayout(component Component, title string) Component

type RequestComponent

type RequestComponent func(r *http.Request, w http.ResponseWriter) templ.Component

type Responder

type Responder func(http.ResponseWriter, *http.Request)

func AsHandler

func AsHandler(component Component) Responder

func AsRequestHandler

func AsRequestHandler(component RequestComponent) Responder

Jump to

Keyboard shortcuts

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