command
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Dec 7, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
System Resolver Service
Commands
Add peers command
mesg-core service execute SERVICE_ID -t addPeers -d addresses="[\"PEER_IP:50052\"]"
Resolve command
mesg-core service execute SERVICE_ID -t resolve -d serviceID=SERVICE_ID_TO_RESOLVE
Tasks
addPeers
Task key: addPeers
| Key |
Type |
Description |
| addresses |
Object |
|
Outputs
error
Output key: error
Output when error
| Key |
Type |
Description |
| message |
String |
The error's message |
success
Output key: success
Output when success
| Key |
Type |
Description |
| addresses |
Object |
|
resolve
Task key: resolve
| Key |
Type |
Description |
| serviceID |
String |
|
Outputs
error
Output key: error
Output when error
| Key |
Type |
Description |
| message |
String |
The error's message |
found
Output key: found
A peer matches
| Key |
Type |
Description |
| address |
String |
|
| serviceID |
String |
|
notFound
Output key: notFound
No peers have been found
| Key |
Type |
Description |
| serviceID |
String |
|
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
proto
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.