web

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

web is used by http/pages packages.

Index

Constants

This section is empty.

Variables

View Source
var DevMode bool = false
View Source
var FS fs.FS
View Source
var HeadTags []string

Functions

func CacheControl added in v0.12.0

func CacheControl(h http.Handler) http.Handler

Types

type ViteHotReload added in v0.14.0

type ViteHotReload struct {
}

func NewViteHotReload added in v0.14.0

func NewViteHotReload() ViteHotReload

func (ViteHotReload) Serve added in v0.14.0

func (r ViteHotReload) Serve(ctx context.Context) error

func (ViteHotReload) String added in v0.14.0

func (r ViteHotReload) String() string

Directories

Path Synopsis
templ: version: v0.2.793
templ: version: v0.2.793
events are used by pages/components packages.
events are used by pages/components packages.
helpers are used by pages/components packages.
helpers are used by pages/components packages.
templ: version: v0.2.793
templ: version: v0.2.793
templ: version: v0.2.793
templ: version: v0.2.793
routes lists all available HTTP routes.
routes lists all available HTTP routes.

Jump to

Keyboard shortcuts

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