9 lines
208 B
Go
9 lines
208 B
Go
package prf
|
|
|
|
import "net/http"
|
|
|
|
func AuthUserMiddleware(next http.Handler) http.Handler {
|
|
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
|
w.WriteHeader(http.StatusUnauthorized)
|
|
})
|
|
} |