Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(api consoleapi.API, s3Router ui.S3Router, adminAuth consoleauth.AdminAuth, version, basePath, trustedProxies string) *teapot.Router
New returns an http.Handler that serves the admin console. s3Router is used purely for URL generation via named routes; it is not invoked. adminAuth validates admin credentials at login time. basePath is the URL prefix the console is reachable under: "/dirio/ui" in single-port mode, "" in dedicated-port mode (console owns its own listener root). trustedProxies is a comma-separated list of IPs/CIDRs (e.g. "10.0.0.0/8,192.168.1.5") identifying reverse proxies/ingress controllers allowed to report request metadata via Forwarded-family headers; pass "" if the console is not deployed behind a trusted TLS-terminating proxy.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth provides authentication primitives for the DirIO admin console.
|
Package auth provides authentication primitives for the DirIO admin console. |
|
components
|
|
|
icon
templui component icon - version: v1.5.0 installed by templui v1.5.0 📚 Documentation: https://templui.io/docs/components/icon
|
templui component icon - version: v1.5.0 installed by templui v1.5.0 📚 Documentation: https://templui.io/docs/components/icon |
|
Package handlers HX-Request header; handlers return only the relevant fragment in that case.
|
Package handlers HX-Request header; handlers return only the relevant fragment in that case. |
|
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |
|
templui util templui.go - version: v1.5.0 installed by templui v1.5.0
|
templui util templui.go - version: v1.5.0 installed by templui v1.5.0 |