Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ Up
Method
Up
polyamide/device/device.go:214–216 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
212
}
213
214
func
(device *Device) Up() error {
215
return
device.changeState(deviceStateUp)
216
}
217
218
func
(device *Device) Down() error {
219
return
device.changeState(deviceStateDown)
Callers
8
main
Function · 0.95
main
Function · 0.95
main
Function · 0.95
main
Function · 0.95
RoutineTUNEventReader
Method · 0.95
genTestPair
Function · 0.80
TestUpDown
Function · 0.80
initWireGuard
Method · 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
2
genTestPair
Function · 0.64
TestUpDown
Function · 0.64