Documentation ¶
Index ¶
- func CloseGossipService()
- func ConnectGossipService()
- func GetBlocks(id string) []pb2.Block
- func GetProducer() sarama.AsyncProducer
- func GetSpecificBlock(id string) pb2.Block
- func SendTx(produce sarama.AsyncProducer, a []byte)
- func StartConsumer(produce sarama.AsyncProducer)
- func StartProducer() sarama.AsyncProducer
- func StopProducer(producer sarama.AsyncProducer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectGossipService ¶
func ConnectGossipService()
ConnectGossipService for connection to the service
func GetSpecificBlock ¶
GetSpecificBlock for getting specific block
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.