web

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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
components are used by pages.
components are used by pages.
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.
pages is used by http package.
pages is used by http package.
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