Add the new example to README.md and doc.go.

This commit is contained in:
Dave Collins 2014-06-05 20:58:47 -05:00
parent cd4018b33e
commit 7eea8252a4
2 changed files with 11 additions and 3 deletions

View file

@ -21,9 +21,13 @@ implement and the API is not stable yet.
* [API Reference](http://godoc.org/github.com/conformal/btcrpcclient) * [API Reference](http://godoc.org/github.com/conformal/btcrpcclient)
* [btcd Websockets Example](https://github.com/conformal/btcrpcclient/blob/master/examples/btcdwebsockets) * [btcd Websockets Example](https://github.com/conformal/btcrpcclient/blob/master/examples/btcdwebsockets)
Connects to a btcd RPC server using TLS-secured websockets, Connects to a btcd RPC server using TLS-secured websockets, registers for
registers for block connected and block disconnected notifications, and gets block connected and block disconnected notifications, and gets the current
the current block count block count
* [btcwallet Websockets Example](https://github.com/conformal/btcrpcclient/blob/master/examples/btcwalletwebsockets)
Connects to a btcwallet RPC server using TLS-secured websockets, registers for
notifications about changes to account balances, and gets a list of unspent
transaction outputs (utxos) the wallet can sign
* [Bitcoin Core HTTP POST Example](https://github.com/conformal/btcrpcclient/blob/master/examples/bitcoincorehttp) * [Bitcoin Core HTTP POST Example](https://github.com/conformal/btcrpcclient/blob/master/examples/bitcoincorehttp)
Connects to a bitcoin core RPC server using HTTP POST mode with TLS disabled Connects to a bitcoin core RPC server using HTTP POST mode with TLS disabled
and gets the current block count and gets the current block count

4
doc.go
View file

@ -170,5 +170,9 @@ The following full-blown client examples are in the examples directory:
Connects to a btcd RPC server using TLS-secured websockets, registers for Connects to a btcd RPC server using TLS-secured websockets, registers for
block connected and block disconnected notifications, and gets the current block connected and block disconnected notifications, and gets the current
block count block count
- btcwalletwebsockets
Connects to a btcwallet RPC server using TLS-secured websockets, registers
for notifications about changes to account balances, and gets a list of
unspent transaction outputs (utxos) the wallet can sign
*/ */
package btcrpcclient package btcrpcclient