Mastering WebSockets With Go

Tutorial on how to use WebSockets to build real-time APIs in Go

Percy Bolmér
Towards Data Science
25 min readNov 22, 2022

--

Image by Percy Bolmér. Gopher by Takuya Ueda, Original Go Gopher by Renée French (CC BY 3.0)

If we think about it, regular HTTP APIs are dumb, like, really dumb. We can fetch data by sending a request for the data. If we have to keep data fresh on a website, we will have to continuously request the data, so-called Polling.

All Images in this article is made by Percy Bolmér…

--

--