webui

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebUI

type WebUI struct {
	Mux *http.ServeMux
	// contains filtered or unexported fields
}

WebUI handles the web interface for displaying tunnel status and requests.

func NewWebUI

func NewWebUI(router *manager.Manager) *WebUI

NewWebUI creates a new WebUI instance.

func (*WebUI) HandleRequest

func (ui *WebUI) HandleRequest(w http.ResponseWriter, r *http.Request)

func (*WebUI) UpdateStats

func (ui *WebUI) UpdateStats()

UpdateStats updates the stats with current information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL