The highest tagged major version is
v2.
package
Version:
v1.4.4
Opens a new window with list of versions in this module.
Published: Jul 30, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Connector interface {
UUID() string
Send(v []byte)
OnClose(cb func(string))
Close()
}
Connector interface
Handler request processor
func (v *Hub) Add(c *connection)
Add connection to hub
CloseAll close all connection
SendAll broadcast send message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.