An open API service indexing awesome lists of open source software.

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)

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)

![Logo](sse.jpg)

## 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"
}
```