http

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssetHandler

func NewAssetHandler(assetsFS embed.FS, isDev bool) http.Handler

func NewPageHandler

func NewPageHandler(
	service *usecase.PageService,
	config core.PageConfig,
	manifest *core.Manifest,
	assetsFS embed.FS,
	isDev bool,
	staticPath string,
) http.Handler

func NewPublicHandler

func NewPublicHandler(assetsFS embed.FS, next http.Handler, isDev bool) http.Handler

Types

type AssetHandler

type AssetHandler struct {
	// contains filtered or unexported fields
}

func (*AssetHandler) ServeHTTP

func (h *AssetHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type PageHandler

type PageHandler struct {
	// contains filtered or unexported fields
}

func (*PageHandler) ServeHTTP

func (h *PageHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type PublicHandler

type PublicHandler struct {
	// contains filtered or unexported fields
}

func (*PublicHandler) ServeHTTP

func (h *PublicHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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