Documentation ¶
Overview ¶
Package wgint provides somewhat shady access to wireguard-go internals that don't (yet) have public APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶ added in v1.62.0
type Peer struct {
// contains filtered or unexported fields
}
Peer is a wrapper around a wireguard-go device.Peer pointer.
func (Peer) HandshakeAttempts ¶ added in v1.62.0
HandshakeAttempts returns the number of failed WireGuard handshake attempts made for the current handshake. It resets to zero before every new handshake and after a successful handshake.
func (Peer) LastHandshake ¶ added in v1.62.0
LastHandshake returns the last handshake time.
If the handshake has never happened, it returns the zero value.
Click to show internal directories.
Click to hide internal directories.