Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultInactivityThreshold = 15 * time.Minute MinimumInactivityThreshold = 1 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶ added in v0.50.0
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶ added in v0.50.0
func NewManager(iface WgInterface, configuredThreshold *time.Duration) *Manager
func (*Manager) AddPeer ¶ added in v0.50.0
func (m *Manager) AddPeer(peerCfg *lazyconn.PeerConfig)
func (*Manager) InactivePeersChan ¶ added in v0.50.0
func (*Manager) RemovePeer ¶ added in v0.50.0
type WgInterface ¶ added in v0.50.0
Click to show internal directories.
Click to hide internal directories.