Documentation
¶
Overview ¶
Package ui embeds the leather DevTools / overview web UI so that `leather serve` can serve it at /ui/* from the binary, with no need for the operator to know where the repository's ui/ directory lives.
Files embedded:
- devtools.html, index.html
- js/**/*.{js,css} (entire js/ tree, including the devtools/ subdir and any leather-*.js helpers)
The exported FS is rooted at the ui/ directory: index.html is at the root, so http.FileServer(http.FS(Assets)) serves "/" as index.html and "/devtools.html" / "/js/..." as the rest.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.