securedload

package
v0.0.0-...-07af6e5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAssetSecured

func GetAssetSecured(name string) ([]byte, error)

func RegisterProtectedLoader

func RegisterProtectedLoader(name string, sv ProtectedLoader)

Types

type EmbeddedHashProtectedLoader

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

func NewEmbeddedHashProtectedLoader

func NewEmbeddedHashProtectedLoader() *EmbeddedHashProtectedLoader

func (EmbeddedHashProtectedLoader) VerifyAndLoad

func (e EmbeddedHashProtectedLoader) VerifyAndLoad(filename string) ([]byte, error)

type ProtectedLoader

type ProtectedLoader interface {
	VerifyAndLoad(filename string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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