Documentation
¶
Overview ¶
Package ui embeds the Temporal Web UI (temporalio/ui-server) in fallbck-server.
ui-server only knows how to bind its own listener, so it runs on a loopback port and fallbck-server reverse-proxies it under PublicPath behind admin authentication.
Index ¶
Constants ¶
View Source
const DefaultPort = 8233
DefaultPort is the loopback port of the UI server
View Source
const PublicPath = "/temporal"
PublicPath is the path prefix the UI is served under on the public port
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// BindIP and Port are the loopback listener (default 127.0.0.1:8233)
BindIP string
Port int
// TemporalAddr is the frontend host:port the UI talks to
TemporalAddr string
// TLS is nil for a plaintext (embedded, loopback) frontend
TLS *TLS
// Namespace pre-selected in the UI
Namespace string
}
Config for the embedded UI
Click to show internal directories.
Click to hide internal directories.