github.com/Oyster-zx/tendermint@v0.34.24-fork/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/v0.34/rpc/#/Info/health 11 func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) { 12 return &ctypes.ResultHealth{}, nil 13 }