feat(server/client): add windows pipe, pipe peer credentials support

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2025-11-23 18:08:12 +01:00
parent 6829ab5bbc
commit e6fee24f40
17 changed files with 339 additions and 16 deletions

12
client/dialer.go Normal file
View File

@@ -0,0 +1,12 @@
//go:build !windows
package client
import (
"context"
"net"
)
func dial(ctx context.Context, addr string) (net.Conn, error) {
network, address := parseDialTarget(addr)
return (&net.Dialer{}).DialContext(ctx, network, address)
}