package
Version:
v0.0.0-...-4d10510
Opens a new window with list of versions in this module.
Published: Sep 10, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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(embeds *fs.FS)
SetEmbeds saves the pointer to embedded assets (and toggles the isLive var).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.