|
|
@ -129,7 +129,7 @@ func parseHandler(h interface{}) Handler { |
|
|
log.Fatalf("Unknown handler type %v. Expected a web.Handler, "+ |
|
|
log.Fatalf("Unknown handler type %v. Expected a web.Handler, "+ |
|
|
"a http.Handler, or a function with signature func(C, "+ |
|
|
"a http.Handler, or a function with signature func(C, "+ |
|
|
"http.ResponseWriter, *http.Request) or "+ |
|
|
"http.ResponseWriter, *http.Request) or "+ |
|
|
"func(http.ResponseWriter, http.Request)", h) |
|
|
|
|
|
|
|
|
"func(http.ResponseWriter, *http.Request)", h) |
|
|
} |
|
|
} |
|
|
panic("log.Fatalf does not return") |
|
|
panic("log.Fatalf does not return") |
|
|
} |
|
|
} |
|
|
|