Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(response http.ResponseWriter, request *http.Request, namespace string) *Connection
func (*Connection) BroadcastMessage ¶
func (conn *Connection) BroadcastMessage(receive <-chan int)
type SSE ¶
type SSE struct { Broker *Broker OutboundChannel chan<- SSEMessage }
type SSEMessage ¶
Click to show internal directories.
Click to hide internal directories.