summaryrefslogtreecommitdiff
path: root/pkg/webui/index.go
diff options
context:
space:
mode:
authorJulien Dessaux2025-01-26 00:04:38 +0100
committerJulien Dessaux2025-01-26 00:04:38 +0100
commit4e029fb83a1e70495330eaac94981a97de24682e (patch)
treefb041970dcbf38daf06de5034cf6fd567c586069 /pkg/webui/index.go
parentfeat(webui): implement states list (diff)
downloadtfstated-4e029fb83a1e70495330eaac94981a97de24682e.tar.gz
tfstated-4e029fb83a1e70495330eaac94981a97de24682e.tar.bz2
tfstated-4e029fb83a1e70495330eaac94981a97de24682e.zip
feat(webui): bootstrap a proper UI
Diffstat (limited to '')
-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 == "/" {