package main import ( "github.com/gin-gonic/gin" ) type Message struct { Data interface{} } type Client struct { Channel chan Message `json:"clients"` } func SSEHandler(c *gin.Context) { } func registerClient(client *Client) { } func unregisterClient(client *Client) { } func SendMsg(c *gin.Context) { } func handleMessages() { }