statics

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBPAsset

func NewBPAsset(l *logger.Logger, namespaceArg string) (embed.AssetEmbedder, error)

NewBPAsset function to filter valid namespace for now this will be hardcoded, later down the line, it will be generated. func NewBPAsset(namespaces []string, namespaceArg string) (embed.AssetEmbedder, error) {

Types

type BPAsset

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

func (*BPAsset) GetFS

func (r *BPAsset) GetFS() http.FileSystem

func (*BPAsset) ReadSingleFile

func (r *BPAsset) ReadSingleFile(name string) ([]byte, error)

func (*BPAsset) WriteAllFiles

func (r *BPAsset) WriteAllFiles(outputPath string) error

Jump to

Keyboard shortcuts

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