Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSEManager ¶
type SSEManager struct { Broadcast chan models.Data LenChan int // contains filtered or unexported fields }
func NewSSEManager ¶
func NewSSEManager(lenChan int) *SSEManager
func (*SSEManager) RegisterClient ¶
func (mgr *SSEManager) RegisterClient(c Client)
func (*SSEManager) Shutdown ¶
func (mgr *SSEManager) Shutdown()
func (*SSEManager) UnregisterClient ¶
func (mgr *SSEManager) UnregisterClient(c Client)
Click to show internal directories.
Click to hide internal directories.