Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSEHandler ¶
type SSEHandler struct{}
SSEHandler handles Server-Sent Events
func (*SSEHandler) StreamEvents ¶
func (h *SSEHandler) StreamEvents(c *gin.Context)
StreamEvents streams server-sent events to the client @Summary Stream server events @Description Establishes an SSE connection for real-time updates @Tags SSE @Accept json @Produce text/event-stream @Success 200 {string} string "SSE stream established" @Router /api/sse/events [get]
func (*SSEHandler) StreamNotifications ¶
func (h *SSEHandler) StreamNotifications(c *gin.Context)
StreamNotifications streams notification events @Summary Stream notifications @Description Establishes an SSE connection for notifications @Tags SSE @Accept json @Produce text/event-stream @Success 200 {string} string "Notification SSE stream established" @Router /api/sse/notifications [get]
Click to show internal directories.
Click to hide internal directories.