resource

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdminFS added in v0.1.1

func GetAdminFS() (fs.FS, error)

GetAdminFS 返回静态文件的文件系统

func GetAssetsFS added in v0.0.4

func GetAssetsFS() (fs.FS, error)

GetAssetsFS returns the filesystem for assets

func GetStaticFS

func GetStaticFS() (fs.FS, error)

GetStaticFS returns the filesystem for static files

func GetTemplateFS added in v0.1.1

func GetTemplateFS() fs.FS

GetTemplateFS returns the filesystem for templates

Types

type ThemeConfig added in v0.1.1

type ThemeConfig struct {
	Name             string `json:"name"`
	Description      string `json:"description"`
	Version          string `json:"version"`
	ViteDevServerURL string `json:"ViteDevServerURL"`
	Manifest         string `json:"manifest"`
}

ThemeConfig represents the theme configuration

func GetThemeConfig added in v0.1.1

func GetThemeConfig() (*ThemeConfig, error)

GetThemeConfig returns the parsed theme configuration

Jump to

Keyboard shortcuts

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