code: func newIPCConnection(ctx context.Context, endpoint string) (net.Conn, error) {
  	timeout := defaultPipeDialTimeout
  	if deadline, ok := ctx.Deadline(); ok {
  		timeout = deadline.Sub(time.Now())
  		if timeout < 0 {
  			timeout = 0
  		}
  	}
  	return npipe.DialTimeout(endpoint, timeout)
  }
docs: // newIPCConnection will connect to a named pipe with the given endpoint as name.