add Health method to clients

Refs #1296
This commit is contained in:
Anton Kaliaev
2018-03-19 19:53:50 +03:00
parent b11c26cc1c
commit 830bb72d6f
4 changed files with 23 additions and 0 deletions

View File

@ -83,6 +83,7 @@ type Client interface {
type NetworkClient interface {
NetInfo() (*ctypes.ResultNetInfo, error)
DumpConsensusState() (*ctypes.ResultDumpConsensusState, error)
Health() (*ctypes.ResultHealth, error)
}
// EventsClient is reactive, you can subscribe to any message, given the proper