Middleware wraps an http handler so that it can make GAE API calls
(next http.Handler)
| 90 | |
| 91 | // Middleware wraps an http handler so that it can make GAE API calls |
| 92 | func Middleware(next http.Handler) http.Handler { |
| 93 | return handleHTTPMiddleware(executeRequestSafelyMiddleware(next)) |
| 94 | } |
| 95 | |
| 96 | func handleHTTPMiddleware(next http.Handler) http.Handler { |
| 97 | return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
searching dependent graphs…