web

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dist embed.FS
View Source
var DistDirFS = MustSubFS(Dist, "dist")

Functions

func BuildFrontend

func BuildFrontend() error

BuildFrontend executes the frontend build process

func MustSubFS

func MustSubFS(currentFs fs.FS, fsRoot string) fs.FS

MustSubFS creates sub FS from current filesystem or panic on failure

func ServeIndex added in v0.1.0

func ServeIndex(c *gin.Context)

ServeIndex serves index.html with proper headers

func ServeStatic

func ServeStatic(r *gin.Engine)

ServeStatic registers static file handlers with Gin

Types

This section is empty.

Jump to

Keyboard shortcuts

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