From f137c78c9ab3f1af9942284b63cfa8cec33d0709 Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Wed, 13 Apr 2022 22:39:34 +0300 Subject: [PATCH] [wscat] Update public echo server; add link to gorilla/websocket; --- wscat/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wscat/README.md b/wscat/README.md index d18ac73..4461a8d 100644 --- a/wscat/README.md +++ b/wscat/README.md @@ -17,10 +17,10 @@ wscat принимает на вход единственный аргумент Публичный echo сервер: ``` -✗ $GOPATH/bin/wscat -addr ws://echo.websocket.org +✗ $GOPATH/bin/wscat -addr ws://ws.ifelse.io abc abcdef -def^C2020/04/04 05:01:32 received signal interrupt +def^C2022/04/13 22:23:42 received signal interrupt ``` ``` ✗ echo $? @@ -30,4 +30,5 @@ def^C2020/04/04 05:01:32 received signal interrupt ## Ссылки 1. websocket: https://en.wikipedia.org/wiki/WebSocket -2. signal shutdown: https://p.go.manytask.org/06-http/lecture.slide#20 +2. gorilla/websocket: https://pkg.go.dev/github.com/gorilla/websocket +3. signal shutdown: https://p.go.manytask.org/06-http/lecture.slide#20