MCPcopy Index your code
hub / github.com/coder/coder / dialSocket

Function dialSocket

agent/agentsocket/socket_unix.go:66–73  ·  view source on GitHub ↗
(ctx context.Context, path string)

Source from the content-addressed store, hash-verified

64}
65
66func dialSocket(ctx context.Context, path string) (net.Conn, error) {
67 if path == "" {
68 path = defaultSocketPath
69 }
70
71 dialer := net.Dialer{}
72 return dialer.DialContext(ctx, "unix", path)
73}

Callers 1

NewClientFunction · 0.70

Calls 1

DialContextMethod · 0.65

Tested by

no test coverage detected