1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-03 22:52:19 +02:00
echo/website/content/recipes/websocket.md
Vishal Rana dbd1e8e230 Separated recipes from the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-09 11:00:13 -08:00

552 B

title menu
WebSocket
side
parent weight
recipes 5

Server

server.go

{{< embed "websocket/server.go" >}}

Client

index.html

{{< embed "websocket/public/index.html" >}}

Output

Client

Hello, Client!
Hello, Client!
Hello, Client!
Hello, Client!
Hello, Client!

Server

Hello, Server!
Hello, Server!
Hello, Server!
Hello, Server!
Hello, Server!

Maintainers

Source Code