socket

package
v0.0.0-...-746b095 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect()

Connect initialises the secure websocket connection to wss://ws.blockchain.info/inv .

func SubAddress

func SubAddress(conn *websocket.Conn, addr string)

SubAddress opens a subscription for any new transactions for the passed bitcoin address `addr`.

func SubNewBlocks

func SubNewBlocks(conn *websocket.Conn)

SubNewBlocks opens a subscription for any new blocks that are minted on the bitcoin blockchain.

func SubUnconfirmedTxs

func SubUnconfirmedTxs(conn *websocket.Conn)

SubUnconfirmedTxs opens a subscription for all new bitcoin transactions.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL