Documentation ¶ Index ¶ type Collector func NewCollector(conn types.PacketConn, listenPort int, endpoint string, logger *zap.Logger) (res *Collector, err error) func (c *Collector) Close() error func (c *Collector) Notify(fn func(endpoints, globalEndpoints []netip.AddrPort)) func (c *Collector) Trigger() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Collector ¶ type Collector struct { // contains filtered or unexported fields } func NewCollector ¶ func NewCollector(conn types.PacketConn, listenPort int, endpoint string, logger *zap.Logger) (res *Collector, err error) func (*Collector) Close ¶ func (c *Collector) Close() error func (*Collector) Notify ¶ func (c *Collector) Notify(fn func(endpoints, globalEndpoints []netip.AddrPort)) func (*Collector) Trigger ¶ func (c *Collector) Trigger() Source Files ¶ View all Source files endpoints.go Click to show internal directories. Click to hide internal directories.