This repository contains a Go modules for implementing different communication systems.
- WebSocket client-server implementation for communication
- Real-time data exchange between participants
- Scalable architecture for handling multiple client connections
- Customizable client/server configurations
- The
Messenger
implementation that handles the communication between MultiversX nodes
The web socket functionality allows real-time bidirectional communication between a client and a server. It provides a persistent connection that enables instant data transmission and updates.
The examples folder contains a demonstration of how to send and receive messages using the WebSocket host implemented in this repository. This example provides a basic usage scenario to help you understand and get started with the WebSocket functionality.
The peer-to-peer communication is managed by the Messenger
implementation, which handles both messages broadcasted through the entire network and messages sent from directly connected peers.
Contributions to the mx-chain-communication-go module are welcomed. If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.
This project is licensed under the GNU License.