Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandler ¶
func AddHandler(s string, f func(HandlerInitParams) Handler) error
Types ¶
type Handler ¶
type Handler interface { ReceiveMessage(m message.Message) bool Init() error Run() Stop() error DeInit() error }
func NewDhcpV4 ¶
func NewDhcpV4(hip HandlerInitParams) Handler
type HandlerDhcpV4 ¶
type HandlerDhcpV4 struct {
// contains filtered or unexported fields
}
func (*HandlerDhcpV4) DeInit ¶
func (h *HandlerDhcpV4) DeInit() error
func (*HandlerDhcpV4) Init ¶
func (h *HandlerDhcpV4) Init() error
func (*HandlerDhcpV4) ReceiveMessage ¶
func (h *HandlerDhcpV4) ReceiveMessage(msg message.Message) bool
func (*HandlerDhcpV4) Run ¶
func (h *HandlerDhcpV4) Run()
func (*HandlerDhcpV4) Stop ¶
func (h *HandlerDhcpV4) Stop() error
type HandlerInitParams ¶
type HandlerInitParams struct {
// contains filtered or unexported fields
}
type LeaseDhcpV4 ¶
Click to show internal directories.
Click to hide internal directories.