Files
sing-box/experimental/libbox/neighbor.go
T
2026-06-25 17:38:13 +08:00

21 lines
301 B
Go

package libbox
type NeighborEntry struct {
Address string
MacAddress string
Hostname string
}
type NeighborEntryIterator interface {
Next() *NeighborEntry
HasNext() bool
}
type NeighborSubscription struct {
done chan struct{}
}
func (s *NeighborSubscription) Close() {
close(s.done)
}