Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
Handler is a type that defines the handler function to be called every time a valid DHCPv4 message is received
type Server ¶
type Server struct { Handler Handler // contains filtered or unexported fields }
Server represents a DHCPv4 server object
func NewServer ¶
func NewServer(ifname string, addr *net.UDPAddr, handler Handler, opt ...ServerOpt) (*Server, error)
NewServer initializes and returns a new Server object
Click to show internal directories.
Click to hide internal directories.