- go 1.21
- clone this repo
git clone https://github.com/nazo/webtransport-go-chat.git
- Follow the installation instructions of mkcert
- create
localhost.pemandlocalhost-key.pem
cd webtransport-go-chat
mkcert -install
mkcert localhost
-
(Google Chrome) Enable WebTransport Developer Mode
- chrome://flags/#webtransport-developer-mode
-
run
go run main.go -
open
index.html