feat: Access Logging on the user server

Closes: #98

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2020-12-16 17:51:22 +01:00
parent 41be4f9344
commit 4d05223224
7 changed files with 93 additions and 4 deletions
+6
View File
@@ -41,4 +41,10 @@ type Handler struct {
// Writer is the original http.ResponseWriter of the request.
Writer http.ResponseWriter
// Status is the returned status code
Status int
// SentBytes is the number of sent bytes
SentBytes int64
}