web

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNewEmbeddedServer added in v0.19.0

func MustNewEmbeddedServer() http.Handler

MustNewEmbeddedServer calls NewEmbeddedServer and panics on any error.

func NewEmbeddedServer added in v0.19.0

func NewEmbeddedServer() (http.Handler, error)

NewEmbeddedServer creates a new SPA web server for the embedded web content.

func NewServer

func NewServer(public fs.FS) http.Handler

NewServer creates a new SPA web server, serving files from fileServer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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