initial webapp
This commit is contained in:
1 parent
6c989c338c
commit
d32f2b3a66
18 files changed
+1145
-16
No files matched your search
@@ -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)
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user