Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶ added in v1.9.4
func GetVersion() string
GetVersion returns version of the packed assets
Types ¶
type DebugAssets ¶
type DebugAssets struct { Dir string // Dir is a directory location of asset files Default string // Default is the file to serve if file is not found. }
DebugAssets serves assets via a specified directory
func (*DebugAssets) Handler ¶
func (d *DebugAssets) Handler() http.Handler
Handler is an http.FileServer for the Dir
Click to show internal directories.
Click to hide internal directories.