securedload

package
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 10 Imported by: 1

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