funcmap

package
v0.0.0-...-4d10510 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap() template.FuncMap

func New

func New(algo string) *resIntegrity

New returns a new resource integrity (resIntegrity) struct for the particular algorithm. Supported argument values are sha256, sha384 and sha512.

func SetEmbeds

func SetEmbeds(embeds *fs.FS)

SetEmbeds saves the pointer to embedded assets (and toggles the isLive var).

Types

This section is empty.

Jump to

Keyboard shortcuts

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