Documentation ¶
Overview ¶
Package updater manages the connection with the bitboxbase, establishing a websocket listener and sending events when receiving packets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater struct { observable.Implementation // contains filtered or unexported fields }
Updater implements observable blockchainInfo.
func NewUpdater ¶
NewUpdater returns a new bitboxbase updater.
func (*Updater) BlockInfo ¶
BlockInfo returns the last received blockchain information packet from the middleware
func (*Updater) Connect ¶
Connect start the websocket go routine, first checking if the middleware is reachable
Click to show internal directories.
Click to hide internal directories.