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

Method IpcGet

polyamide/device/uapi.go:410–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408}
409
410func (device *Device) IpcGet() (string, error) {
411 buf := new(strings.Builder)
412 if err := device.IpcGetOperation(buf); err != nil {
413 return "", err
414 }
415 return buf.String(), nil
416}
417
418func (device *Device) IpcSet(uapiConf string) error {
419 return device.IpcSetOperation(strings.NewReader(uapiConf))

Callers

nothing calls this directly

Implementers 4

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

Calls 2

IpcGetOperationMethod · 0.95
StringMethod · 0.45

Tested by

no test coverage detected