Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/WireGuard/wireguard-go
/ Wait
Method
Wait
device/device.go:402–404 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
400
}
401
402
func
(device *Device) Wait()
chan
struct
{} {
403
return
device.closed
404
}
405
406
func
(device *Device) SendKeepalivesToPeersWithCurrentKeypair() {
407
if
!device.isUp() {
Callers
15
main
Function · 0.95
main
Function · 0.95
TestFormatting
Function · 0.80
Close
Method · 0.80
newOutboundQueue
Function · 0.80
newInboundQueue
Function · 0.80
newHandshakeQueue
Function · 0.80
TestUpDown
Function · 0.80
TestConcurrencySafety
Function · 0.80
BenchmarkThroughput
Function · 0.80
NewDevice
Function · 0.80
Close
Method · 0.80
Implementers
4
NativeTun
tun/tun_linux.go
netTun
tun/netstack/tun.go
chTun
tun/tuntest/tuntest.go
fakeTUNDeviceSized
device/device_test.go
Calls
no outgoing calls
Tested by
10
TestFormatting
Function · 0.64
TestUpDown
Function · 0.64
TestConcurrencySafety
Function · 0.64
BenchmarkThroughput
Function · 0.64
TestWaitPool
Function · 0.64
BenchmarkWaitPool
Function · 0.64
BenchmarkWaitPoolEmpty
Function · 0.64
BenchmarkSyncPool
Function · 0.64
TestMessageReadMode
Function · 0.64
TestListenConnectRace
Function · 0.64