assets

package
v0.0.0-...-80658cd Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(cfg *config.Config) http.FileSystem

Load initializes the static files.

Types

type ChainedFS

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

ChainedFS is a simple HTTP filesystem including custom path.

func (ChainedFS) Open

func (c ChainedFS) Open(origPath string) (http.File, error)

Open just implements the HTTP filesystem interface.

func (ChainedFS) Templates

func (c ChainedFS) Templates() ([]string, error)

Templates provides a list of bundled templates.

Jump to

Keyboard shortcuts

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