Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ Down
Method
Down
polyamide/device/device.go:218–220 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
216
}
217
218
func
(device *Device) Down() error {
219
return
device.changeState(deviceStateDown)
220
}
221
222
func
(device *Device) IsUnderLoad() bool {
223
// check if currently under load
Callers
2
RoutineTUNEventReader
Method · 0.95
TestUpDown
Function · 0.80
Implementers
4
NativeTun
polyamide/tun/tun_linux.go
netTun
polyamide/tun/netstack/tun.go
chTun
polyamide/tun/tuntest/tuntest.go
fakeTUNDeviceSized
polyamide/device/device_test.go
Calls
1
changeState
Method · 0.95
Tested by
1
TestUpDown
Function · 0.64