Online / 6 & 7 February 2021


Deploy a Go HTTP server in your browser

Have you ever thought to yourself "It would be nice to run this Go HTTP server directly in a browser for demonstration" ? No? Well I have!

But it's not possible, right? A Go WebAssembly binary can run in browsers, but cannot serve HTTP... Or could it?

Could we run a Go WebAssembly binary into a browser's ServiceWorker, and serve HTTP from it? Well let's find out!


Nicolas Lepage