Documentation ¶ Index ¶ func Handler(cfg *config.Config) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Handler ¶ func Handler(cfg *config.Config) http.Handler Handler returns an http.Handler that serves the embedded static files. It parses index.html as a template and injects the server configuration into it. The result is cached in memory on startup. Types ¶ This section is empty. Source Files ¶ View all Source files ui.go Click to show internal directories. Click to hide internal directories.