package
0.0.0-20200119040024-ad164ee1d6b0
Repository: https://github.com/heanthor/rsec-net.git
Documentation: pkg.go.dev

# Functions

NewMulticastReader creates a new net struct used for receiving from the given address (hostname:port).
NewUDPWriter creates a new writer that writes to the given address (host:port).
NewUniReader creates a new net struct used for receiving from the given address (hostname:port).

# Structs

Message is a basic serializable message.
MulticastReader implements NetReader for multicast UDP communication.
UDPWriter contains methods to write to a udp address (host:port).
UniReader implements NetReader for unicast UDP communication.

# Interfaces

NetReader binds to and continuously reads from the given host and port.
NetWriter writes packets to the network.