diff options
author | Julien Dessaux | 2025-01-26 00:04:38 +0100 |
---|---|---|
committer | Julien Dessaux | 2025-01-26 00:04:38 +0100 |
commit | 4e029fb83a1e70495330eaac94981a97de24682e (patch) | |
tree | fb041970dcbf38daf06de5034cf6fd567c586069 /pkg/webui/index.go | |
parent | feat(webui): implement states list (diff) | |
download | tfstated-4e029fb83a1e70495330eaac94981a97de24682e.tar.gz tfstated-4e029fb83a1e70495330eaac94981a97de24682e.tar.bz2 tfstated-4e029fb83a1e70495330eaac94981a97de24682e.zip |
feat(webui): bootstrap a proper UI
Diffstat (limited to 'pkg/webui/index.go')
-rw-r--r-- | pkg/webui/index.go | 5 |
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 == "/" { |