For native dapps we can establish an rcp connection over IPC using
conn, err := rpc.NewIPCClient("/home/karalabe/.ethereum/testnet/geth.ipc")
Now what if I want to establish an rpc connection over http i.e.
conn, err := rpc.NewHTTPClient("http://127.0.0.1:8545")
I am unaware whether than methods exists on the rpc package nor was I able to find the documentation for the rpc package. Can anyone provide examples of using HTTP connection over rpc or the full documentation of that struct?