ssehandler

package
v1.0.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSSE

func HandleSSE() gin.HandlerFunc

@Summary Server sent events @Schemes @Description Listen to server sent events @Tags events @Accept text/event-stream @Produce text/event-stream @Success 200 {string} string "ok" @Failure 403 {object} rorerror.RorError @Failure 400 {object} rorerror.RorError @Failure 401 {object} rorerror.RorError @Failure 500 {object} rorerror.RorError @Router /v2/events/listen [get] @Security ApiKey || AccessToken

func Send

func Send() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL