diff --git a/redis/server/server.go b/redis/server/server.go index 441fa83..fe137d2 100644 --- a/redis/server/server.go +++ b/redis/server/server.go @@ -103,7 +103,7 @@ func (h *Handler) Handle(ctx context.Context, conn net.Conn) { // Close stops handler func (h *Handler) Close() error { - logger.Info("handler shuting down...") + logger.Info("handler shutting down...") h.closing.Set(true) // TODO: concurrent wait h.activeConn.Range(func(key interface{}, val interface{}) bool { diff --git a/tcp/echo.go b/tcp/echo.go index adbfd17..b2186a9 100644 --- a/tcp/echo.go +++ b/tcp/echo.go @@ -76,7 +76,7 @@ func (h *EchoHandler) Handle(ctx context.Context, conn net.Conn) { // Close stops echo handler func (h *EchoHandler) Close() error { - logger.Info("handler shuting down...") + logger.Info("handler shutting down...") h.closing.Set(true) // TODO: concurrent wait h.activeConn.Range(func(key interface{}, val interface{}) bool {