package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
NewIPv4UDPConn returns a UDP connection bound to both the interface and port given based on a IPv4 DGRAM socket.
NewServer initializes and returns a new Server object.
WithConn configures the server with the given connection.
WithDebugLogger logs multi-line full DHCPv4 messages when sent & received.
WithLogger set the logger (see interface Logger).
WithSummaryLogger logs one-line DHCPv4 message summaries when sent & received.
# Structs
DebugLogger is a wrapper for Printfer to implement interface Logger.
EmptyLogger prints nothing.
Server represents a DHCPv4 server object.
ShortSummaryLogger is a wrapper for Printfer to implement interface Logger.