handlers

package
v2.3.48 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSE

type SSE struct {
	// contains filtered or unexported fields
}

func NewSSE

func NewSSE(manager *service.SSEManager) *SSE

func (*SSE) Init

func (s *SSE) Init(api *gin.RouterGroup)

func (*SSE) SendMessage

func (s *SSE) SendMessage(ctx context.Context, m models.Message) error

func (*SSE) Stream

func (s *SSE) Stream(c *gin.Context)

Jump to

Keyboard shortcuts

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