Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SseService ¶
type SseService struct { }
func GetSseService ¶
func GetSseService() *SseService
func (*SseService) AddSseSession ¶
func (s *SseService) AddSseSession(id string, uid int64, w gin.ResponseWriter, mtx *sync.Mutex)
func (*SseService) PushEventMessage ¶
func (s *SseService) PushEventMessage(uId int64, event Event, data any) error
func (*SseService) RemoveSseSession ¶
func (s *SseService) RemoveSseSession(id string)
Click to show internal directories.
Click to hide internal directories.