Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ZipOrEnvPath ¶
func ZipOrEnvPath(env string, zipBytes []byte) (http.FileSystem, error)
ZipOrEnvPath returns a FileSystem to serve web content from. If the name env refers to is not empty it is assumed to be a valid filesystem path and is used to provide content. If it is empty, zipBytes is assumed to be a zip file and is used to provide content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.