initial webapp

This commit is contained in:
natercio committed 2026-09-28 21:46:54 +01:00
1 parent 6c989c338c
commit d32f2b3a66
18 files changed
+1145 -16

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package web
import "net/http"
// AuthMiddleware is a placeholder seam for future authentication. For now it
// is a pass-through that invokes the wrapped handler unchanged.
func AuthMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
next.ServeHTTP(w, r)
})
}