oc-lib/static/peer_static.go

22 lines
646 B
Go
Raw Normal View History

2024-08-13 09:49:42 +02:00
package static
func GetMyLocalBsonPeer() (string, map[string]interface{}) {
return "6fd0134c-fefc-427e-94c2-e01365fc5fb0", map[string]interface{}{
"abstractobject": map[string]interface{}{
2024-08-20 09:28:02 +02:00
"id": "6fd0134c-fefc-427e-94c2-e01365fc5fb0",
2024-08-13 09:49:42 +02:00
"name": "local_peer",
},
"url": "http://localhost",
"public_key": "public_key_lulz",
}
}
func GetMyLocalJsonPeer() (string, map[string]interface{}) {
return "6fd0134c-fefc-427e-94c2-e01365fc5fb0", map[string]interface{}{
2024-08-20 09:28:02 +02:00
"id": "6fd0134c-fefc-427e-94c2-e01365fc5fb0",
2024-08-13 09:49:42 +02:00
"name": "local_peer",
"url": "http://localhost",
"public_key": "public_key_lulz",
}
}