summaryrefslogtreecommitdiff
path: root/pkg/webui/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/webui/index.go')
-rw-r--r--pkg/webui/index.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/webui/index.go b/pkg/webui/index.go
index 3a52fc1..deea5d1 100644
--- a/pkg/webui/index.go
+++ b/pkg/webui/index.go
@@ -5,6 +5,11 @@ import (
"net/http"
)
+type Page struct {
+ Section string
+ Title string
+}
+
func handleIndexGET() http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if r.URL.Path == "/" {