package
0.0.0-20241229025226-47b7997123d2
Repository: https://github.com/gin-gonic/examples.git
Documentation: pkg.go.dev

# README

Server Sent Event

It is Way to send events from server to clients.

Here is Example for SSE with basic authentication using gin.

How to Run?

  1. Run go run main.go

  2. Open http://127.0.0.1:8085 in browser and authorize with username and password given in main.go and see messages.

# Functions

No description provided by the author
Initialize event and Start procnteessing requests.

# Structs

It keeps a list of clients those are currently attached and broadcasting events to those clients.