Browse Source

Delete some unneeded code

Carl Jackson 11 years ago
parent
commit
986effffd7
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      web/router.go

+ 1
- 3
web/router.go View File

@ -57,13 +57,11 @@ type router struct {
notFound Handler
machine *routeMachine
}
type netHTTPWrap struct {
http.Handler
}
func (h netHTTPWrap) ServeHTTP(w http.ResponseWriter, r *http.Request) {
h.Handler.ServeHTTP(w, r)
}
func (h netHTTPWrap) ServeHTTPC(c C, w http.ResponseWriter, r *http.Request) {
h.Handler.ServeHTTP(w, r)
}


Loading…
Cancel
Save