MCPcopy Create free account
hub / github.com/encodeous/nylon / Events

Method Events

polyamide/tun/tun.go:44–44  ·  view source on GitHub ↗

Events returns a channel of type Event, which is fed Device events.

()

Source from the content-addressed store, hash-verified

42
43 // Events returns a channel of type Event, which is fed Device events.
44 Events() <-chan Event
45
46 // Close stops the Device and closes the Event channel.
47 Close() error

Callers 1

RoutineTUNEventReaderMethod · 0.65

Implementers 4

NativeTunpolyamide/tun/tun_linux.go
netTunpolyamide/tun/netstack/tun.go
chTunpolyamide/tun/tuntest/tuntest.go
fakeTUNDeviceSizedpolyamide/device/device_test.go

Calls

no outgoing calls

Tested by

no test coverage detected