Merge pull request #132 from fengzeroz/main

Add map type in schema
This commit is contained in:
fengzeroz
2021-10-27 10:12:33 +08:00
committed by GitHub
+15 -4
View File
@@ -90,10 +90,21 @@
},
"connection_mode": {
"name": "connection mode",
"description": "false means neuron as the client, true means neuron as the server",
"type": "bool",
"default": false,
"valid": {}
"description": "neuron as the client, or as the server",
"type": "map",
"default": 0,
"valid": {
"map": [
{
"key": "client",
"value": 0
},
{
"key": "server",
"value": 1
}
]
}
}
}
}