mirror of
https://github.com/linka-cloud/grpc.git
synced 2026-06-02 01:30:25 +00:00
e6fee24f40
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
13 lines
234 B
Go
13 lines
234 B
Go
//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)
|
|
}
|