Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPC ¶
type GRPC struct {
// contains filtered or unexported fields
}
GRPC represents a struct for GRPC server
type NetworkMediator ¶
type NetworkModule ¶
type NetworkModule struct {
// contains filtered or unexported fields
}
func NewNetwork ¶
func NewNetwork(ctx context.Context, execution execution.Execution, storage storage.Storage, config *config.NetworkConfig, grpcCfg *config.GrpcConfig) *NetworkModule
func (*NetworkModule) MessageHandler ¶
func (network *NetworkModule) MessageHandler(message string, source Source)
func (*NetworkModule) Start ¶
func (network *NetworkModule) Start()
type P2P ¶
type P2P struct {
// contains filtered or unexported fields
}
func (*P2P) JoinNetwork ¶
func (p2p *P2P) JoinNetwork()
func (*P2P) SubscribeTopics ¶
Click to show internal directories.
Click to hide internal directories.