Documentation
¶
Index ¶
- Variables
- func FreePort() (int, error)
- func OpenBrowser(url string)
- func PrintStartupBanner(toolName, url string)
- func RegisterMetrics(mux *http.ServeMux)
- func RegisterUmamiProxy(mux *http.ServeMux)
- func ServeAsset(fs embed.FS, path, contentType string) http.HandlerFunc
- func ServeSharedAsset(path, contentType string) http.HandlerFunc
- func ServeTemplate(fs embed.FS, path string) func(d IndexData) http.HandlerFunc
- type IndexData
Constants ¶
This section is empty.
Variables ¶
View Source
var Assets embed.FS
Functions ¶
func OpenBrowser ¶
func OpenBrowser(url string)
func PrintStartupBanner ¶
func PrintStartupBanner(toolName, url string)
func RegisterMetrics ¶ added in v1.3.0
func RegisterUmamiProxy ¶ added in v1.3.0
func ServeAsset ¶
func ServeAsset(fs embed.FS, path, contentType string) http.HandlerFunc
func ServeSharedAsset ¶
func ServeSharedAsset(path, contentType string) http.HandlerFunc
func ServeTemplate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.