# Packages
No description provided by the author
# Functions
ConnectionID calculates the id of the given Connection.
HandleErrorQuery handles TypeError queries.
HandleParticipantsQuery handles TypeParticipants queries.
HandleUnknownQuery handles unknown queries.
NewParticipantsAPIMsg creates a new message in a new format from the given message.
NewWSClient creates a new instance of ws client.
NewWsServer creates a new instance.
ParticipantsAPIData creates a new message from the given message in a new format.
# Constants
TypeDecided is an enum for ibft type messages.
TypeError is an enum for error type messages.
TypeOperator is an enum for operator type messages.
TypeParticipants is an enum for participants type messages.
TypeValidator is an enum for validator type messages.
# Structs
Message represents an exporter message.
MessageFilter is a criteria for query in request messages and projection in responses.
NetworkMessage wraps an actual message with more information.
No description provided by the author
WSClient represents a client connection to be used in tests.
# Interfaces
Broadcaster is an interface broadcasting stream message across all available connections.
Conn is a wrapper interface for websocket connections.
Connection is an interface to abstract the actual websocket connection implementation.
WebSocketServer is responsible for managing all.
# Type aliases
MessageType is the type of message being sent.
QueryMessageHandler handles the given message.