Documentation ¶
Index ¶
- type Notifier
- func (n *Notifier) GetInitialRouteRanges() []string
- func (n *Notifier) OnNewPrefixes(prefixes []netip.Prefix)
- func (n *Notifier) OnNewRoutes(idMap route.HAMap)
- func (n *Notifier) SetInitialClientRoutes(clientRoutes []*route.Route)
- func (n *Notifier) SetListener(listener listener.NetworkChangeListener)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
func NewNotifier ¶
func NewNotifier() *Notifier
func (*Notifier) GetInitialRouteRanges ¶
func (*Notifier) OnNewPrefixes ¶
func (*Notifier) OnNewRoutes ¶
func (*Notifier) SetInitialClientRoutes ¶
func (*Notifier) SetListener ¶
func (n *Notifier) SetListener(listener listener.NetworkChangeListener)
Click to show internal directories.
Click to hide internal directories.