MENU

Fun & Interesting

How to Implement Server-Sent Events in Go

package main 6,858 lượt xem 6 months ago
Video Not Working? Fix It Now

Server-Sent Events (SSE) is a powerful web technology that enables real-time, unidirectional communication from servers to clients. In this video we implement a server in Go and a client in JS and explore the main building blocks.

---LINKS---

Code: https://github.com/plutov/packagemain/tree/master/30-sse
Our Substack: https://packagemain.tech
Follow me on X: https://x.com/pliutau

---TIMESTAMPS---

00:00 Intro
02:30 Server Side
09:14 Message Format
13:35 Client Side
16:44 Demo
18:26 Outro

Comment