Discover Packages
github.com/jacobweinstock/tink-stack
smee
dhcp
server
package
Version:
v0.0.0-...-2cc43cd
Opens a new window with list of versions in this module.
Published: Aug 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package dhcp providers UDP listening and serving functionality.
DHCP represents a DHCPv4 server object.
NewServer initializes and returns a new Server object.
Close sends a termination request to the server, and closes the UDP listener.
Handler is a type that defines the handler function to be called every time a
valid DHCPv4 message is received
type Handler func(ctx context.Context, conn net.PacketConn, d data.Packet).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.