note for later
This commit is contained in:
1 file changed
+1
@@ -8,6 +8,7 @@ import (
|
|||||||
func Middleware(next http.Handler) http.Handler {
|
func Middleware(next http.Handler) http.Handler {
|
||||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
// Do Authentication stuff?
|
// Do Authentication stuff?
|
||||||
|
// use r.URL to get url
|
||||||
next.ServeHTTP(w, r)
|
next.ServeHTTP(w, r)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user