Cleaning up

This commit is contained in:
Brian Buller 2016-06-04 17:13:21 -05:00
parent fdc6c763da
commit 59e7ae16d4

View File

@ -63,8 +63,6 @@ func main() {
r.RequestURI = ""
HTTPLogger(r, http.StatusOK)
} else {
r.URL.Host = ""
r.URL.Scheme = ""
HTTPLogger(r, http.StatusBadRequest)
}
},
@ -113,18 +111,3 @@ func HTTPLogger(r *http.Request, status int) {
))
}
}
/*
record := &ApacheLogRecord{
ResponseWriter: rw,
ip: clientIP,
time: time.Time{},
method: r.Method,
uri: r.RequestURI,
protocol: r.Proto,
status: http.StatusOK,
referer: referer,
userAgent: userAgent,
elapsedTime: time.Duration(0),
}
*/