dnsmasq

package
v0.2.134 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: BSD-2-Clause Imports: 9 Imported by: 0

README

Dnsmasq

Dependency packages

  • dnsmasq
apt install -y \
    dnsmasq

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
}

func OpenDnsmasq

func OpenDnsmasq(baseDir string) (*Dnsmasq, error)

func (*Dnsmasq) ApplyHostEntry

func (d *Dnsmasq) ApplyHostEntry(mac net.HardwareAddr, ip net.IP) error

func (*Dnsmasq) Delete

func (d *Dnsmasq) Delete() error

func (*Dnsmasq) DeleteHostEntry

func (d *Dnsmasq) DeleteHostEntry(mac net.HardwareAddr) error

func (*Dnsmasq) IsRunning

func (d *Dnsmasq) IsRunning() bool

func (*Dnsmasq) Start

func (d *Dnsmasq) Start(interfaceName string) (io.Writer, io.Writer, error)

Jump to

Keyboard shortcuts

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