github.com/noirx94/tendermintmp@v0.0.1/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  }