https://github.com/nandarusfikri/go-server-sent-events
Send Event from server to client use SSE (Server Sent Event)
https://github.com/nandarusfikri/go-server-sent-events
go server-events server-push sse
Last synced: 2 months ago
JSON representation
Send Event from server to client use SSE (Server Sent Event)
- Host: GitHub
- URL: https://github.com/nandarusfikri/go-server-sent-events
- Owner: NandaRusfikri
- Created: 2023-11-13T03:10:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-25T12:06:20.000Z (over 1 year ago)
- Last Synced: 2025-02-11T21:04:37.489Z (4 months ago)
- Topics: go, server-events, server-push, sse
- Language: Go
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Server Sent Event Golang
How to sent message from server to client ?
you can use alternative SSE (Server Sent Event)
## Usage/Examples
Run Program
```shell
go run main.go
```Example Send Event with trigger http call
POST http://localhost:4444/api/sse
```json
{
"message" :"NandaRusfikri"
}
```