Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is our handler for client socket connection
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub is our handler that represents a Hub
func (*Hub) HandleWebsocket ¶
func (hub *Hub) HandleWebsocket(w http.ResponseWriter, r *http.Request)
HandleWebsocket handles websocket connection
Click to show internal directories.
Click to hide internal directories.