dnsmasq

package
v0.58.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Protocol string       `yaml:"protocol"`
	Address  string       `yaml:"address"`
	Timeout  web.Duration `yaml:"timeout"`
}

type Dnsmasq

type Dnsmasq struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *Dnsmasq

func (*Dnsmasq) Charts

func (d *Dnsmasq) Charts() *module.Charts

func (*Dnsmasq) Check

func (d *Dnsmasq) Check() bool

func (Dnsmasq) Cleanup

func (Dnsmasq) Cleanup()

func (*Dnsmasq) Collect

func (d *Dnsmasq) Collect() map[string]int64

func (*Dnsmasq) Init

func (d *Dnsmasq) Init() bool

Jump to

Keyboard shortcuts

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