Draft: poop
This commit is contained in:
14
middlewares/nmsl.go
Normal file
14
middlewares/nmsl.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package middlewares
|
||||
|
||||
import (
|
||||
"inp2025/tcp"
|
||||
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
func NMSL(next tcp.Handler) tcp.Handler {
|
||||
return func(w tcp.ResponseWriter, req *tcp.Request) error {
|
||||
zap.L().Info("nmsl")
|
||||
return next(w, req)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user