static

package
v4.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: AGPL-3.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManifestJSON added in v4.1.1

func ManifestJSON(c *gin.Context)

func Static

func Static(r *gin.RouterGroup, noRoute func(handlers ...gin.HandlerFunc))

func UpdateIndex

func UpdateIndex()

Types

type Manifest added in v4.1.1

type Manifest struct {
	Display  string         `json:"display"`
	Scope    string         `json:"scope"`
	StartURL string         `json:"start_url"`
	Name     string         `json:"name"`
	Icons    []ManifestIcon `json:"icons"`
}

type ManifestIcon added in v4.1.1

type ManifestIcon struct {
	Src   string `json:"src"`
	Sizes string `json:"sizes"`
	Type  string `json:"type"`
}

type SiteConfig

type SiteConfig struct {
	BasePath string
	Cdn      string
}

Jump to

Keyboard shortcuts

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