devsisters / goquic

QUIC support for Go
http://devsisters.github.io/goquic/
BSD 3-Clause "New" or "Revised" License
942 stars 100 forks source link

How to serve a Web page through goquic #44

Open GaetanoCarlucci opened 8 years ago

GaetanoCarlucci commented 8 years ago

Let's say I would like to serve this page https://www.example.org/ though goquic server similarly to this guide https://www.chromium.org/quic/playing-with-quic. Then on the client side, I would like to use Chrome.

How can I do that?

Thank you very much.

serialx commented 8 years ago

You might want to look at the example. It already serves files in /files endpoint.

https://github.com/devsisters/goquic/blob/master/example/server.go