webui

package
v0.0.0-...-fa76d37 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigInjector

func ConfigInjector(cfg utils.WebConfig) http.Handler

Types

type EnvJS

type EnvJS struct {
	Theme            string  `json:"PUBLIC_THEME"`
	PageTitle        string  `json:"PUBLIC_PAGE_TITLE"`
	HeaderText       string  `json:"PUBLIC_HEADER_TEXT"`
	HeaderLinks      string  `json:"PUBLIC_HEADER_LINKS"`
	FooterText       string  `json:"PUBLIC_FOOTER_TEXT"`
	FooterLinks      string  `json:"PUBLIC_FOOTER_LINKS"`
	GrpcURL          string  `json:"PUBLIC_GRPC_URL"`
	LGVersion        string  `json:"PUBLIC_LG_VERSION"`
	SentryDSN        string  `json:"PUBLIC_SENTRY_DSN"`
	SentryEnv        string  `json:"PUBLIC_SENTRY_ENV"`
	SentrySampleRate float64 `json:"PUBLIC_SENTRY_SAMPLE_RATE"`
	RtListMax        int     `json:"PUBLIC_RT_LIST_MAX"`
}

Jump to

Keyboard shortcuts

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