Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthChain ¶
type EthChain struct { Config chains.ChainConfig // The config of this chain Streamer Streamer // The streamer of this chain Router Router // The router of this chain }
EthChain streams the Ethereum blockchain and routes tx data packets
func NewEthChain ¶
func NewEthChain(config chains.ChainConfig, streamer Streamer, router Router) EthChain
NewEthChain initializes a new instance of EthChain
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router packages raw event data as Packets and relays them to the bridge
type Streamer ¶
type Streamer struct { WebsocketURL string // contains filtered or unexported fields }
Streamer streams the Ethereum blockchain for application events
func NewStreamer ¶
NewStreamer initializes a new instance of Streamer
Click to show internal directories.
Click to hide internal directories.