Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNetworkClient ¶ added in v0.6.0
func CreateNetworkClient(ctx context.Context, network, address string, dialTimeout int) (rusk.NetworkClient, *grpc.ClientConn)
CreateNetworkClient creates a client for the Kadcast network layer.
Types ¶
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
Peer is a wrapper for both kadcast grpc sides.
type Reader ¶ added in v0.4.0
type Reader struct {
// contains filtered or unexported fields
}
Reader is a proxy between Kadcast grpc service and Message Processor. It receives a wire message and ,if it's valid, redirects it to Message Processor. In addition, it turns any response message from Processor into topics.KadcastPoint EventBus message.
Click to show internal directories.
Click to hide internal directories.