webapp

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebApp embed.FS

Embedd the built webapp in the variable webApp

Functions

func WebAppHandler

func WebAppHandler(rootDir string) http.Handler

WebAppHandler returns a handler for the webapp that should be used as webroot for the webapp.

If rootDir is empty the embedded webapp will be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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