Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsocketsServer ¶
type WebsocketsServer struct { EventQueue *chan *collections.Event // contains filtered or unexported fields }
func New ¶
func New(listenHost string, listenPort uint, eventQueue *chan *collections.Event) *WebsocketsServer
func (*WebsocketsServer) ClientsConnected ¶
func (s *WebsocketsServer) ClientsConnected() int
func (*WebsocketsServer) Remove ¶
func (s *WebsocketsServer) Remove(client *Client)
Remove removes user from chat.
func (*WebsocketsServer) Start ¶
func (s *WebsocketsServer) Start()
Click to show internal directories.
Click to hide internal directories.