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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package pingpong implements the off-chain communications of the payment protocol.

# Functions

NewTracker initializes TimeTracker with specified monotonically increasing clock function (usually time.Now is enough - but we do DI for test sake).

# Constants

PaymentVersionV3 represents the new pingpong version.

# Structs

ConsumerInfo represents the consumer related information.
CreateRequest structure represents message from service consumer to initiate session for given proposal id.
CreateResponse structure represents service provider response to given session request from consumer.
PaymentInfo represents the payment version information.
SessionDto structure represents session information data within session creation response (session id and configuration options for underlying service type).
TimeTracker tracks elapsed time from the beginning of the session it's passive (no internal go routines) and simply encapsulates time operation: now - startOfSession expressed as duration.

# Type aliases

ID represents session id type.
PaymentVersion represents the different payment versions we have.