github.com/lazyledger/lazyledger-core@v0.35.0-dev.0.20210613111200-4c651f053571/rpc/core/health.go (about) 1 package core 2 3 import ( 4 ctypes "github.com/lazyledger/lazyledger-core/rpc/core/types" 5 rpctypes "github.com/lazyledger/lazyledger-core/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 }