[x] boltz (check_node/getinfo for btc and ltc nodes)
[x] webui (fake Ready in utils)
This Go version status API is connecting to RPC port directly instead of using their cli programs. So it should be faster than before. And it is totally seperated from utils so it should make both more stable than mixed them with each other.
This PR provides GET /api/v1/status mainly and GET /api/v1/status/{service} for individual service.
This Go version status API is connecting to RPC port directly instead of using their cli programs. So it should be faster than before. And it is totally seperated from utils so it should make both more stable than mixed them with each other.
This PR provides
GET /api/v1/status
mainly andGET /api/v1/status/{service}
for individual service.The response of
GET /api/v1/status
is likeAnd the response of
GET /api/v1/status/{service}
is likeNotice the string
"Ready"
is also a valid JSON.