web

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Files []File

Functions

func NewHandler

func NewHandler(urlStr string) (http.Handler, error)

NewHandler creates a new http.Handler that will serve UI files using bundled assets or by proxying to urlStr if set.

Types

type File

type File struct {
	Name string
	Data func() []byte
}

Jump to

Keyboard shortcuts

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