admin

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Copyright © 2026 Hanzo AI. MIT License.

Package admin is the legacy mount for /admin/*. It now delegates to commerce/ui (the canonical Hanzo GUI v7 SPA embed) so there is one and only one bundled SPA. Once admin.commerce.hanzo.ai DNS flips to /_/commerce/ui/ this package can be deleted wholesale.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(prefix string) http.Handler

Handler returns an http.Handler that serves the embedded admin SPA at the given prefix (typically "/admin"). It strips the prefix and forwards to the commerce/ui handler — same bundle, same SPA.

Types

This section is empty.

Jump to

Keyboard shortcuts

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