get connection node count
(cmd map[string]interface{})
| 57 | |
| 58 | //get connection node count |
| 59 | func GetConnectionCount(cmd map[string]interface{}) map[string]interface{} { |
| 60 | resp := ResponsePack(berr.SUCCESS) |
| 61 | count, err := bactor.GetConnectionCnt() |
| 62 | if err != nil { |
| 63 | return ResponsePack(berr.INTERNAL_ERROR) |
| 64 | } |
| 65 | resp["Result"] = count |
| 66 | return resp |
| 67 | } |
| 68 | |
| 69 | func GetNodeSyncStatus(cmd map[string]interface{}) map[string]interface{} { |
| 70 | resp := ResponsePack(berr.SUCCESS) |
nothing calls this directly
no test coverage detected