Documentation
¶
Overview ¶
Package moduleui serves the immutable frontend bundle of a ProcessModule module.
Index ¶
Constants ¶
View Source
const ( // RoutePrefix is the frontend path required by the module manifest contract. RoutePrefix = "/ui" // DefaultDirectory is the frontend bundle location in a module runtime image. DefaultDirectory = "/ui" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes exposes module frontend files and applies cache policy suitable for hashed production assets.
func ValidateDirectory ¶
ValidateDirectory ensures that the packaged frontend bundle is available before the HTTP server starts accepting requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.