daemon

package
v0.0.0-...-49b38b5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2015 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DNScache = map[string]string(nil)

Functions

func Run

func Run(c Config)

Types

type Config

type Config struct {
	Interfaces []string      `type:"arg" min:"1"`
	Interval   time.Duration `help:"the interval between scans"`
	Endpoint   string        `help:"an HTTP POST endpoint (defaults to send to stdout)"`
	SingleCore bool          `help:"only use a single core (defaults to multicore)"`
	CacheDNS   bool          `help:"cache dns responses"`
}

type Node

type Node struct {
	MAC net.HardwareAddr
	IP  net.IP
}

type NodeQueue

type NodeQueue chan *Node

type NodeSet

type NodeSet map[string]string

Jump to

Keyboard shortcuts

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