dnsmasq

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSMasq

type DNSMasq struct {
	// contains filtered or unexported fields
}

DNSMasq is a DHCP lease getter for dnsmasq.

func New

func New(leasesFileName string) *DNSMasq

New creates a new DNSMasq.

func (*DNSMasq) GetDHCPLeases

func (d *DNSMasq) GetDHCPLeases() ([]dhcp.NetworkDHCPLease, error)

GetDHCPLeases returns the underlying DHCP leases.

Jump to

Keyboard shortcuts

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