dynamic

package
v1.0.1-0...-5011f7a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dynamic = map[string]Content{}

TODO 不要暴露出去,外部通过注册的方式提供。 然后,以目录名的方式防止名字冲突。

Functions

This section is empty.

Types

type Content

type Content struct {
	Styles  []string
	Scripts []string
	Root    fs.FS
}

type Handler

type Handler struct {
}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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