Versions in this module Expand all Collapse all v0 v0.1.0 Feb 4, 2024 Changes in this version + func WatchLeases(ctx context.Context, filePath string, output chan<- []*Lease) error + func WatchLogs(ctx context.Context, filePath string, output chan<- *Query, fn LogFn) error + type Lease struct + Expires time.Time + Hostname string + IPAddr netip.Addr + MacAddr net.HardwareAddr + func ReadLeases(reader io.Reader) ([]*Lease, error) + type LogFn func(line string, dns bool) + type Query struct + Domain string + Finished time.Time + MadeBy string + Queried []string + Result []string + Started time.Time