Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, conn *grpc.ClientConn, db *sqlx.DB, nodeId int, broadcaster broadcast.BroadcastServer, eventChannel chan interface{}, lightningRequestChannel chan interface{}) error
Start runs the background server. It subscribes to events, gossip and fetches data as needed and stores it in the database. It is meant to run as a background task / daemon and is the bases for all of Torqs data collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.