Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WSConnHandler ¶
type WSServer ¶
type WSServer struct { Hub *hub Server *http.Server Conn *connection ConnHandler WSConnHandler }
func (*WSServer) GetServerInfo ¶
func (*WSServer) SetConnectionHandler ¶
func (s *WSServer) SetConnectionHandler(connHandler WSConnHandler)
connHandler is an optional connection handler that may be registered * to receive new connections before they are attached to the hub. * Can be nil if no connection handler is desired.
Click to show internal directories.
Click to hide internal directories.