res

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetLoader

type AssetLoader interface {
	// Open loads a file from the vault.
	Open(name string) (http.File, error)
}

AssetLoader implements a function to load an asset from the vault

func NewReactLoader

func NewReactLoader() AssetLoader

NewReactLoader returns a new AssetLoader for the React resources.

Jump to

Keyboard shortcuts

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