projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '8998-optimize-decode-www-form-component' closes #8998
[arvados.git]
/
services
/
keepstore
/
logging_router.go
diff --git
a/services/keepstore/logging_router.go
b/services/keepstore/logging_router.go
index 9edfb6e69d15356bd7bee516e8993e0d98953bc5..a93b72cf611cfc4dfa6283b8bd249c02db52ca19 100644
(file)
--- a/
services/keepstore/logging_router.go
+++ b/
services/keepstore/logging_router.go
@@
-4,7
+4,6
@@
package main
// LoggingResponseWriter
import (
// LoggingResponseWriter
import (
- "github.com/gorilla/mux"
"log"
"net/http"
"strings"
"log"
"net/http"
"strings"
@@
-44,13
+43,7
@@
func (loggingWriter *LoggingResponseWriter) Write(data []byte) (int, error) {
// LoggingRESTRouter is used to add logging capabilities to mux.Router
type LoggingRESTRouter struct {
// LoggingRESTRouter is used to add logging capabilities to mux.Router
type LoggingRESTRouter struct {
- router *mux.Router
-}
-
-// MakeLoggingRESTRouter initializes LoggingRESTRouter
-func MakeLoggingRESTRouter() *LoggingRESTRouter {
- router := MakeRESTRouter()
- return (&LoggingRESTRouter{router})
+ router http.Handler
}
func (loggingRouter *LoggingRESTRouter) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
}
func (loggingRouter *LoggingRESTRouter) ServeHTTP(resp http.ResponseWriter, req *http.Request) {