From 7bc9dc9d2085ea44f9b332f4e047251064c9bc9b Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Wed, 19 Nov 2025 21:42:55 -0600 Subject: [PATCH] fix typo --- tcp-client.go | 2 +- tcp-server.go | 2 +- udp-server.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) } } }