get node connection count
(params []interface{})
| 115 | |
| 116 | //get node connection count |
| 117 | func GetConnectionCount(params []interface{}) map[string]interface{} { |
| 118 | count, err := bactor.GetConnectionCnt() |
| 119 | if err != nil { |
| 120 | log.Errorf("GetConnectionCount error:%s", err) |
| 121 | return responsePack(berr.INTERNAL_ERROR, false) |
| 122 | } |
| 123 | return responseSuccess(count) |
| 124 | } |
| 125 | |
| 126 | //get node connection most height |
| 127 | func GetSyncStatus(params []interface{}) map[string]interface{} { |
nothing calls this directly
no test coverage detected