Skip to content

Simple SSE (Server Sent Event) implementation using Golang.

Notifications You must be signed in to change notification settings

seno-ark/simple-go-sse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-go-sse

Simple SSE (Server Sent Event) implementation using Golang.

Run the project

git clone [email protected]:seno-ark/simple-go-sse.git
cd simple-go-sse
go run .

Send message

curl "localhost:3000/send" -i -d "username=Foo" -d "message=Hello, world!"

Listen to server events

In terminal:

curl "localhost:3000/sse?username=Bar"

In Browser:

open http://localhost:3000

About

Simple SSE (Server Sent Event) implementation using Golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published