webutil

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 5 Imported by: 6

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.

Jump to

Keyboard shortcuts

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