Compare commits
No commits in common. "ba2f3876c6e8a5215a035d8a215ac55f0c0fe9e7" and "717cf333f7467f6c4bbdb2253d35b9315c61d31f" have entirely different histories.
ba2f3876c6
...
717cf333f7
2
go.mod
2
go.mod
@ -3,7 +3,6 @@ module git.t-juice.club/microfilm/users
|
|||||||
go 1.21.3
|
go 1.21.3
|
||||||
|
|
||||||
require (
|
require (
|
||||||
git.t-juice.club/microfilm/auth v0.1.1
|
|
||||||
github.com/go-chi/chi/v5 v5.0.10
|
github.com/go-chi/chi/v5 v5.0.10
|
||||||
github.com/google/uuid v1.3.1
|
github.com/google/uuid v1.3.1
|
||||||
github.com/nats-io/nats.go v1.31.0
|
github.com/nats-io/nats.go v1.31.0
|
||||||
@ -12,6 +11,7 @@ require (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
git.t-juice.club/microfilm/auth v0.1.1 // indirect
|
||||||
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
|
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
|
||||||
github.com/klauspost/compress v1.17.0 // indirect
|
github.com/klauspost/compress v1.17.0 // indirect
|
||||||
github.com/nats-io/nkeys v0.4.5 // indirect
|
github.com/nats-io/nkeys v0.4.5 // indirect
|
||||||
|
@ -15,7 +15,6 @@ func (s *UserServer) MiddlewareLogging(next http.Handler) http.Handler {
|
|||||||
defer func(ww middleware.WrapResponseWriter) {
|
defer func(ww middleware.WrapResponseWriter) {
|
||||||
s.Logger.Info("Served request.",
|
s.Logger.Info("Served request.",
|
||||||
"status", ww.Status(),
|
"status", ww.Status(),
|
||||||
"method", r.Method,
|
|
||||||
"path", r.URL.Path,
|
"path", r.URL.Path,
|
||||||
"duration", time.Since(t1),
|
"duration", time.Since(t1),
|
||||||
"written", ww.BytesWritten())
|
"written", ww.BytesWritten())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user