config.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "listeners":[
  3. {
  4. "address": "0.0.0.0",
  5. "port": 8860,
  6. "https": false
  7. }
  8. ],
  9. "threads_num": 5,
  10. "plugins": [
  11. {
  12. //name: The class name of the plugin
  13. "name": "httpHelper",
  14. //dependencies: Plugins that the plugin depends on. It can be commented out
  15. "dependencies": [],
  16. //config: The configuration of the plugin. This json object is the parameter to initialize the plugin.
  17. //It can be commented out
  18. "config": {
  19. }
  20. },
  21. {
  22. //name: The class name of the plugin
  23. "name": "gsd::UserApp",
  24. //dependencies: Plugins that the plugin depends on. It can be commented out
  25. "dependencies": ["gsd::InferPlugin"],
  26. //config: The configuration of the plugin. This json object is the parameter to initialize the plugin.
  27. //It can be commented out
  28. "config": {
  29. }
  30. },
  31. {
  32. //name: The class name of the plugin
  33. "name": "gsd::InferPlugin",
  34. //dependencies: Plugins that the plugin depends on. It can be commented out
  35. "dependencies": ["gsd::CenterGroup"],
  36. //config: The configuration of the plugin. This json object is the parameter to initialize the plugin.
  37. //It can be commented out
  38. "config": {
  39. }
  40. },
  41. {
  42. //name: The class name of the plugin
  43. "name": "gsd::CenterGroup",
  44. //dependencies: Plugins that the plugin depends on. It can be commented out
  45. "dependencies": [],
  46. //config: The configuration of the plugin. This json object is the parameter to initialize the plugin.
  47. //It can be commented out
  48. "config": {
  49. "spug_ip" : "47.112.106.146",
  50. "spug_port" : 9090
  51. }
  52. }
  53. ]
  54. }