snitch

package
v0.0.0-...-2308770 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToIP

func InterfaceToIP(iface *net.Interface) ([]*net.IPNet, error)

Types

type Snitch

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

func New

func New() *Snitch

func (*Snitch) AddCounter

func (s *Snitch) AddCounter(c *counter.Counters[*output.Line])

func (*Snitch) AddResolution

func (s *Snitch) AddResolution(addr netip.Addr, domain string)

func (*Snitch) Dump

func (r *Snitch) Dump(output io.Writer)

func (*Snitch) Scan

func (r *Snitch) Scan(ifaces []*net.Interface) error

Jump to

Keyboard shortcuts

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