Documentation
¶
Overview ¶
Package web provides an embedded HTTP server for browsing doomsday backups.
The server binds to localhost only, picks a free port, and includes a random auth token in the URL for security. All assets (HTML, CSS, JS) are embedded in the binary via go:embed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the web UI HTTP server.
func (*Server) OpenBrowser ¶
func (s *Server) OpenBrowser()
OpenBrowser attempts to open the URL in the user's default browser.
Click to show internal directories.
Click to hide internal directories.