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

# Constants

AppTopicConnectionSession represents the session lifetime changes.
AppTopicConnectionState represents the session state change topic.
AppTopicConnectionStatistics represents the session stats topic.
Canceled means that connection initialization was started, but failed never reaching Connected state.
Connected means that fully established connection exists.
Connecting means that connection is startCalled but not yet fully established.
Disconnecting means that connection close is in progress.
NotConnected means no connection exists.
Reconnecting means that connection is lost but underlying service is trying to reestablish it.
SessionCreatedStatus represents a session creation event.
SessionEndedStatus represents a session end.
StateConnectionFailed means that underlying connection is failed.
StateIPNotChanged means that consumer ip not changed after connection is created.
StateOnHold means that underlying connection failed, but manager keeps it not removed to prevent traffic leaks.
Unknown means that we could not map the underlying transport state to our state.

# Structs

AppEventConnectionSession represents a session related event.
AppEventConnectionState is the struct we'll emit on a AppEventConnectionState topic event.
AppEventConnectionStatistics represents a session statistics event.
Statistics represents connection statistics.
Status holds connection state, session id and proposal of the connection.

# Type aliases

State represents list of possible connection states.