package
0.0.0-20250225105205-8289a55d8107
Repository: https://github.com/mysteriumnetwork/node.git
Documentation: pkg.go.dev

# Functions

NewElasticSearchTransport creates transport allowing to send events to ElasticSearch through HTTP.
NewMorqaClient creates Mysterium Morqa client with a real communication.
NewMORQATransport creates transport allowing to send events to Mysterium Quality Oracle - MORQA.
NewNoopTransport creates transport which ignores requests to send metrics.
NewSender creates metrics sender with appropriate transport.

# Constants

AppTopicConnectionEvents represents event bus topic for the connection events.
AppTopicConsumerPingP2P represents event bus topic for consumer p2p pings to provider.
AppTopicProviderPingP2P represents event bus topic for provider p2p pings to consumer.
StageConnectionAlreadyExists describes already exists connection event.
StageConnectionCanceled describes canceled connection event.
StageConnectionOK describes successful connection event.
StageConnectionUnknownError describes unknown connection event.
StageGetProposal describes proposal get event for connection create.
StageNoProposal describes connection request event when proposal does not exists.
StagePraseRequest describes connection request parse event.
StageRegistrationGetStatus describes getting registration status event.
StageRegistrationInProgress describes registration in progress status event.
StageRegistrationRegistered describes registration registered status event.
StageRegistrationUnknown describes registration unknown status event.
StageRegistrationUnregistered describes registration unregistered status event.
StageValidateRequest describes connection request validate event.

# Structs

ConnectCount represents the connection count statistics.
ConnectionEvent represents the connection stages events.
Event contains data about event, which is sent using transport.
MonitoringStatus identity's monitoring status.
MysteriumMORQA HTTP client for Mysterium Quality Oracle - MORQA.
PingEvent represents p2p ping keepalive events.
ProposalID represents the struct used to uniquely identify proposals.
ProposalQuality represents a proposal with quality info.
ProviderSession represents a provider session.
Sender builds events and sends them using given transport.

# Interfaces

Transport allows sending events.

# Type aliases

MonitoringStatusResponse monitoring status API response.