Documentation ¶
Overview ¶
Package udp_to_ws provides udp data over websocket
Usage: See Repo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectUDP ¶
Creates a UDP Connection to the given port. The port is passed to net.ResolveUDPAddr to start the connection
func ReadUDP ¶
Reads the data available on the UDP connection Data will be read into packet data and extra data
func StartServer ¶
Starts the WebSocket server with the given handler If a addr option is not specified the default port is 8080
Types ¶
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.