github.com/adoriasoft/tendermint@v0.34.0-dev1.0.20200722151356-96d84601a75a/rpc/core/health.go (about) 1 package core 2 3 import ( 4 ctypes "github.com/tendermint/tendermint/rpc/core/types" 5 rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types" 6 ) 7 8 // Health gets node health. Returns empty result (200 OK) on success, no 9 // response - in case of an error. 10 // More: https://docs.tendermint.com/master/rpc/#/Info/health 11 func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) { 12 return &ctypes.ResultHealth{}, nil 13 }