Documentation ¶
Index ¶
- Variables
- func ConnectUDP(node pipes.Node) error
- func ConnectWS(node pipes.Node) error
- func Decrypt(node string, msg []byte) ([]byte, error)
- func Encrypt(node string, msg []byte) ([]byte, error)
- func ExistsUDP(node string) bool
- func ExistsWS(node string) bool
- func GetUDP(node string) *net.UDPConn
- func GetWS(node string) *websocket.Conn
- func IterateUDP(f func(key string, value *net.UDPConn) bool)
- func IterateWS(f func(key string, value *websocket.Conn) bool)
- func RemoveUDP(node string)
- func RemoveWS(node string)
- func SetupDisconnections()
- type AdoptionRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var DisconnectHandler = func(node pipes.Node) {}
View Source
var GeneralPrefix []byte = nil
Functions ¶
func ConnectUDP ¶
func IterateUDP ¶
Range calls f sequentially for each key and value present in the map. If f returns false, range stops the iteration.
func IterateWS ¶
Range calls f sequentially for each key and value present in the map. If f returns false, range stops the iteration.
func SetupDisconnections ¶
func SetupDisconnections()
Types ¶
type AdoptionRequest ¶
Click to show internal directories.
Click to hide internal directories.