package
0.29.7
Repository: https://github.com/strukturag/spreed-webrtc.git
Documentation: pkg.go.dev

# Functions

CallFuncWithRetry retries the given func when it does not return nil and the timeout duration has not been reached.
EstablishConnection is a blocking way to create and establish connection to the default NATS server.
EstablishJSONEncodedConnection is a blocking way to create and establish JSON-encoded connection to the default NATS server.
NewConnection creates a connetion to the default NATS server and tries to establish the connection.
NewJSONEncodedConnection creates a JSON-encoded connetion to the default NATS server and tries to establish the connection.

# Variables

DefaultEstablishTimeout is the default timeout for calls to EstablishNatsConnection.
DefaultRequestTimeout is the default timeout for Request() calls.
DefaultURL is the default NATS server URL used for calls to NewConnection and EstablishConnection.

# Structs

Connection implements the wrapped nats.Conn.
EncodedConnection implements the wrapped nats.EncodedConn.