console

package module
v0.0.0-...-589edf9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

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