You need to run the build.sh
to build the server and start it with ./server 0.0.0.0 3000 1 server.key server.crt
. Assuming you've generated server.key
and server.crt
. If not, follow the instructions on http://www.akadia.com/services/ssh_test_certificate.html.
Once you've the server started, you can either use curl
(with http2 support) or run the client with go run client.go
. If you want to see debug logs of the underlying http2 implementation, run it as GODEBUG=http2debug=2 go run client.go
.