15 lines
221 B
Go
15 lines
221 B
Go
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)
|
|
}
|
|
}
|