embed

package
v0.0.0-...-b1457f6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetEmbedder

type AssetEmbedder interface {
	GetFS() http.FileSystem
	WriteAllFiles(outputPath string) error          // writes populated map[string][]byte to user's filesystem
	ReadSingleFile(filename string) ([]byte, error) // read single file from the namespace (without populating)
}

AssetEmbedder is the common interface for all static files included in the bs tool. all of the embedded files has to be namespaced for cleaner approach.

Jump to

Keyboard shortcuts

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