ziggornif / go-event-streaming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go events streaming example with JetStream

Install

go install

Run

go run main.go

Deploy dependencies

docker compose up -d

How to use it ?

Open http://localhost:8080/ URL in your browser.

Then fill the fake tweet form to post a tweet.

Once the entity is created, an event will be sent in Jetstream then retrieved by the event listener and displayed in the right part of the page.

example

About


Languages

Language:Go 51.7%Language:JavaScript 38.0%Language:HTML 10.3%