package
1.3.9-rc.0
Repository: https://github.com/bloxapp/ssv.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConnectionID calculates the id of the given Connection.
DecidedAPIData creates a new message from the given message.
HandleDecidedQuery handles TypeDecided queries.
HandleErrorQuery handles TypeError queries.
HandleUnknownQuery handles unknown queries.
NewDecidedAPIMsg creates a new message from the given message TODO: avoid converting to v0 once explorer is upgraded.
NewWSClient creates a new instance of ws client.
NewWsServer creates a new instance.

# 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.
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.