assets

package
v0.0.0-...-1d800d4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	BuildCSSPath(theme string) template.URL
	BuildFontPath(path string) template.URL
	BuildImgPath(path string) template.URL
	BuildMathJaxEntrypoint() template.URL
	GetCSSBundlePath(path string) template.URL
	GetBundlePath(path string) template.URL
	GetEntrypointChunks(path string) []template.URL
	StaticPath(path string) template.URL
	ResourceHintsManager
}

func Load

func Load(options Options, proxy proxyClient.Manager) (Manager, error)

type Options

type Options struct {
	CDNURL        sharedTypes.URL
	SiteURL       sharedTypes.URL
	ManifestPath  string
	WatchManifest bool
}

type ResourceHintsManager

type ResourceHintsManager interface {
	RenderingStart()
	RenderingEnd()
	ResourceHintsDefault() string
	ResourceHintsEditorDefault() string
	ResourceHintsEditorLight() string
}

Jump to

Keyboard shortcuts

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