mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-04 11:35:11 -04:00
15 lines
288 B
Go
15 lines
288 B
Go
//go:build !windows
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
)
|
|
|
|
// listenNamedPipe is Windows-only: no other platform serves the daemon on a
|
|
// named pipe.
|
|
func listenNamedPipe(string) (net.Listener, string, error) {
|
|
return nil, "", fmt.Errorf("named pipes are only supported on Windows")
|
|
}
|