mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-18 14:20:28 +00:00
21 lines
301 B
Go
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)
|
|
}
|