Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleConnection ¶
HandleConnection reads incoming messages from a net.Conn and unmarshals them into a pb.PBDNSMessage. It then sends the unmarshalled message to the dnsmessage.RawMessageChannel. If there is an error reading or unmarshalling the message, the function logs the error and returns. The function sets a read deadline of 5 minutes on the connection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.