package
Version:
v2.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Feb 27, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetHash returns the hash of the built assets
LoadStats loads the Assets variable
func StaticHandler(c *echo.Context) error
StaticHandler serves static files
type AssetsWrapper struct {
Hash string
}
AssetsWrapper is a wrapper for static assets
Assets is the variable that stores assets
type Stats struct {
BuildDir string
Hash string `json:"hash"`
}
Stats is the json object for webpack stats
Source Files
¶
Click to show internal directories.
Click to hide internal directories.