Help us shape the future of Go! Take the 2026 Go Developer Survey

temporalui

package
v1.321.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package temporalui serves the upstream Temporal UI under PathPrefix through a read-only reverse proxy scoped to the caller's organization namespace.

The embedded UI runs with auth disabled and is reachable only through this proxy, so the proxy is the security boundary:

  • the caller is a Credimi user authenticated by the `pb_auth` cookie the webapp already keeps in sync with the PocketBase auth store;
  • only GET and HEAD reach the UI, so no workflow can be started, signaled, cancelled, terminated or reset from it;
  • API calls must target the caller's organization namespace; the namespace list is replaced by the caller's namespace alone.

HTML pages get embedHead, which fits the UI into a Credimi run page: no shell, light theme only, navigation kept on the embedded run.

Index

Constants

View Source
const PathPrefix = "/temporal-ui"

PathPrefix is the public path of the embedded UI; it must match the UI's TEMPORAL_UI_PUBLIC_PATH.

Variables

This section is empty.

Functions

func Handler

func Handler(target *url.URL) func(*core.RequestEvent) error

Handler proxies PathPrefix requests to the Temporal UI at target.

Types

This section is empty.

Jump to

Keyboard shortcuts

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