Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Done chan struct{}
// contains filtered or unexported fields
}
Client represents a connected websocket client
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub maintains the set of active clients and broadcasts messages to them
func (*Hub) BroadcastAll ¶
BroadcastAll sends a message to all connected clients
func (*Hub) BroadcastToWorkflow ¶
Click to show internal directories.
Click to hide internal directories.