webapp

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(app *bifrost.App)

func Handler

func Handler(app *bifrost.App) (http.Handler, error)

Handler composes Bifrost with ordinary net/http handlers and applies one middleware chain to both.

func New

func New(assets fs.FS) (*bifrost.App, error)

New declares the web application without opening listeners or external services. Runtime startup happens in main after bifrost.Building returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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