mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-01 04:23:44 +01:00
12 lines
163 B
Go
12 lines
163 B
Go
|
package iface
|
||
|
|
||
|
import (
|
||
|
"net"
|
||
|
|
||
|
"golang.zx2c4.com/wireguard/ipc"
|
||
|
)
|
||
|
|
||
|
func openUAPI(deviceName string) (net.Listener, error) {
|
||
|
return ipc.UAPIListen(deviceName)
|
||
|
}
|