site and webhooks packages stubbed

This commit is contained in:
2025-12-23 22:35:38 -07:00
commit cdbc08dea2
16 changed files with 527 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package site
import (
"net/http"
)
func NewSiteHandler() http.Handler {
mux := http.NewServeMux()
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
w.Write([]byte(`
<DOCTYPE html>
<html>
<head>
<title>TEST</title>
</head>
<body>
TEST
</body>
</html>
`))
})
return mux
}