admin

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package admin provides the built-in workflow admin UI configuration. When enabled via the --admin flag, the admin modules and routes are merged into the primary workflow engine, adding an authenticated management interface on a separate port (:8081 by default).

The admin UI dogfoods the workflow engine: it uses the engine's own modules (http.server, http.router, auth.jwt, http.handler, static.fileserver) configured via an embedded YAML config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() (*config.WorkflowConfig, error)

LoadConfig parses the embedded admin config and returns it.

func LoadConfigRaw

func LoadConfigRaw() ([]byte, error)

LoadConfigRaw returns the raw embedded admin config YAML bytes.

func MergeInto

func MergeInto(primary *config.WorkflowConfig, admin *config.WorkflowConfig)

MergeInto merges admin modules and workflows into the primary config. Admin modules are appended to the primary module list. Admin workflows use a separate key ("http-admin") so they don't conflict with the primary HTTP workflow — each gets its own router and server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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