web

package
v0.33.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppVersion added in v0.27.0

func AppVersion() string

AppVersion returns the version string from `app.js` (if available).

func NewEtagFileServer added in v0.30.0

func NewEtagFileServer(files http.FileSystem, static bool) http.Handler

func NewHandler

func NewHandler(uiDir, prefix string) (http.Handler, error)

NewHandler creates a new http.Handler that will serve UI files using bundled assets or locally if uiDir if set.

func NoCache added in v0.30.0

func NoCache(h http.Handler) http.Handler

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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