##gostratum API documentation
func Connect(string)
type Client
func (c *Client) SetTimeout(uint64)
func (c *Client) ServerVersion() (string, error)
func (c *Client) ServerBanner() (string, error)
func (c *Client) ServerDontationAddress() (string, error)
func (c *Client) PeersSubscribe(callback func([]Peer, error)) error
type Peer
func (c *Client) BlockHeaderSubscribe(callback func([]BlockHeader, error)) error
func (c *Client) GetBlockHeader(height uint64) (BlockHeader, error)
type BlockHeader
func (c *Client) NumBlocksSubscribe(callback func(int, error)) error
func (c *Client) AddressSubscribe(address string, callback func(string, string, error)) error
func (c *Client) AddressGetHistory(address string) ([]AddressTransaction, error)
type AddressTransaction
func (c *Client) AddressGetBalance(address string) (Balance, error)
type Balance
func (c *Client) AddressListUnspent(address string) ([]UnspentTransaction, error)
type UnspentTransaction
func (c *Client) GetBlockChunk(chunk uint64) (string, error)
func (c *Client) BroadcastTransaction(raw string) (string, error)