Documentation ¶
Overview ¶
Package wireguard implements common wireguard functionality.
Index ¶
Constants ¶
View Source
const PeerDownInterval = (180 + 5 + 90) * time.Second
PeerDownInterval is the time since last handshake when established peer is considered to be down.
WG whitepaper defines a downed peer as being: Handshake Timeout (180s) + Rekey Timeout (5s) + Rekey Attempt Timeout (90s)
This interval is applied when the link is already established.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.