Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleWebSocket ¶
func HandleWebSocket(hub *WebHub) http.HandlerFunc
Types ¶
type WebClient ¶
type WebClient struct {
// contains filtered or unexported fields
}
WebSocket clients
type WebHub ¶
type WebHub struct {
// contains filtered or unexported fields
}
func StartServer ¶
func (*WebHub) Broadcast ¶
func (h *WebHub) Broadcast(event models.EventOutput)
Click to show internal directories.
Click to hide internal directories.