model, tunnel, wg, authtoken, netguard, docker and dotenv, split out of the original single repository so Hammerhead, Blacktip and Bamboo can live in their own repos and import them. README extended; LICENSE unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
16 lines
308 B
Go
16 lines
308 B
Go
//go:build !windows
|
|
|
|
package docker
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
func dialPipe(string) func(ctx context.Context, network, addr string) (net.Conn, error) {
|
|
return func(context.Context, string, string) (net.Conn, error) {
|
|
return nil, errors.New("named pipes are only available on Windows")
|
|
}
|
|
}
|