stream-score/backend/sse.go
2025-03-03 11:33:10 +01:00

28 lines
341 B
Go

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() {
}