connection

package
v0.0.0-...-6ae2a7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleConnection

func HandleConnection(conn net.Conn)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL