Skip to content
Snippets Groups Projects
Commit bbe4e492 authored by Jake Taylor's avatar Jake Taylor
Browse files

align file paths for contacts

parent 58f7fee6
Branches
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ func main() { ...@@ -24,7 +24,7 @@ func main() {
// Create a new client object------------------------------------------------------- // Create a new client object-------------------------------------------------------
// Path to the server contact file // Path to the server contact file
serverContactPath := "server-contact.json" serverContactPath := "connectServer.xxc"
// You would ideally use a configuration tool to acquire these parameters // You would ideally use a configuration tool to acquire these parameters
statePath := "statePath" statePath := "statePath"
......
...@@ -20,6 +20,9 @@ func main() { ...@@ -20,6 +20,9 @@ func main() {
// Create a new client object------------------------------------------------------- // Create a new client object-------------------------------------------------------
// Set the output contact file path
contactFilePath := "connectServer.xxc"
// You would ideally use a configuration tool to acquire these parameters // You would ideally use a configuration tool to acquire these parameters
statePath := "statePath" statePath := "statePath"
statePass := "password" statePass := "password"
...@@ -94,9 +97,6 @@ func main() { ...@@ -94,9 +97,6 @@ func main() {
// Save contact file---------------------------------------------------------------- // Save contact file----------------------------------------------------------------
// Get the contact file path
contactFilePath := "connectServer.xxc"
// Save the contact file so that client can connect to this server // Save the contact file so that client can connect to this server
writeContact(contactFilePath, identity.GetContact()) writeContact(contactFilePath, identity.GetContact())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment