web

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package dist embeds the static web server content.

Index

Constants

This section is empty.

Variables

Functions

func Handler

func Handler() http.HandlerFunc

Handler returns an http.HandlerFunc that servers the static content from the embedded file system.

func RenderPublicAccessFrom

func RenderPublicAccessFrom(ctx context.Context) bool

RenderPublicAccessFrom retrieves the public access rendering config from the context. If true, the UI should be rendered for public access.

func WithRenderPublicAccess

func WithRenderPublicAccess(parent context.Context, v bool) context.Context

WithRenderPublicAccess returns a copy of parent in which the public access rendering is set to the provided value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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