Documentation
¶
Overview ¶
Package adminui serves the admin web interface under /_ui/. The built assets (ui/admin, `npm run build`) are embedded from dist/; a Go build without them still compiles, and Handler then returns nil so /_ui/ answers 404 like any unknown route.
Index ¶
Constants ¶
View Source
const Prefix = "/_ui"
Prefix is where the interface is served.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler serves the embedded interface, or returns nil when this build has no assets. idle is the sign-out timeout handed to the page. imageOrigins are the origins (scheme://host:port) of the realms' file storage, the only places besides itself the page may load images from and send direct uploads to: previews and uploads of files go through links backd signed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.