Documentation
¶
Overview ¶
Package refresher is responsible for refreshing application state on specific events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meshnet ¶
type Meshnet struct {
// contains filtered or unexported fields
}
Meshnet refreshes peers.
func NewMeshnet ¶
func NewMeshnet( api mesh.CachingMapper, checker meshn.Checker, man config.Manager, netw Refresher, ) *Meshnet
NewMeshnet is a default constructor for Meshnet.
func (*Meshnet) NotifyPeerUpdate ¶
NotifyPeerUpdate refreshes meshnet peers.
type Refresher ¶
type Refresher interface {
Refresh(mesh.MachineMap) error
}
Refresher updates active meshnet peer list.
Click to show internal directories.
Click to hide internal directories.