staticprefixes

package
v0.131.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NeedsRuntimeRootAlias

func NeedsRuntimeRootAlias(prefix string) bool

NeedsRuntimeRootAlias reports whether go-formgen needs the legacy /runtime alias in addition to the configured admin-scoped runtime prefix.

func Resolve

func Resolve(input Input) []string

Resolve returns the concrete static mount prefixes in registration order.

Types

type Input

type Input struct {
	AssetsPrefix     string
	FormgenPrefix    string
	RuntimePrefix    string
	SyncClientPrefix string
	EChartsPrefix    string
	ShellPrefix      string
}

Input describes the mounted static prefixes that must stay aligned across host routing, ownership manifests, and public-site fallback reservations.

func DefaultInput

func DefaultInput(cfg admin.Config) Input

DefaultInput derives the quickstart static mount prefixes from admin config.

Jump to

Keyboard shortcuts

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