diff --git a/tcp-client.go b/tcp-client.go index d67c797..e9a5e2c 100644 --- a/tcp-client.go +++ b/tcp-client.go @@ -128,7 +128,7 @@ func (tc *TCPClient) Run(ctx context.Context) error { if tc.router != nil { tc.router.HandleInput(tc.config.Id, message) } else { - slog.Error("tcp-client has not router", "id", tc.config.Id) + slog.Error("tcp-client has no router", "id", tc.config.Id) } } } diff --git a/tcp-server.go b/tcp-server.go index 04d5352..b3673fd 100644 --- a/tcp-server.go +++ b/tcp-server.go @@ -98,7 +98,7 @@ func (ts *TCPServer) HandleClient(ctx context.Context, client net.Conn) { if ts.router != nil { ts.router.HandleInput(ts.config.Id, message) } else { - slog.Error("tcp-server has not router", "id", ts.config.Id) + slog.Error("tcp-server has no router", "id", ts.config.Id) } } } diff --git a/udp-server.go b/udp-server.go index 95c3cba..f774ea1 100644 --- a/udp-server.go +++ b/udp-server.go @@ -75,7 +75,7 @@ func (us *UDPServer) Run(ctx context.Context) error { if us.router != nil { us.router.HandleInput(us.config.Id, message) } else { - slog.Error("tcp-server has not router", "id", us.config.Id) + slog.Error("tcp-server has no router", "id", us.config.Id) } } }