add peer state

This commit is contained in:
mr
2024-10-15 16:37:18 +02:00
parent 9f5e6d6018
commit 73602b6c3d
2 changed files with 16 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ func GetMyLocalBsonPeer() (string, map[string]interface{}) {
"id": "6fd0134c-fefc-427e-94c2-e01365fc5fb0",
"name": "local_peer",
},
"state": 1,
"url": "http://localhost",
"public_key": "public_key_lulz",
}
@@ -24,6 +25,7 @@ func GetMyLocalJsonPeer() (string, map[string]interface{}) {
return "6fd0134c-fefc-427e-94c2-e01365fc5fb0", map[string]interface{}{
"id": "6fd0134c-fefc-427e-94c2-e01365fc5fb0",
"name": "local_peer",
"state": 1,
"url": "http://localhost",
"public_key": "public_key_lulz",
}