package
2.5.3+incompatible
Repository: https://github.com/mtryfoss/ari-proxy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

ErrorToMap converts an error type to a key-value map.
FromClient configures the ARI Application to use the transport details from another ARI Client.
Listen listens for StasisStart events, filtered by the given key.
MapToError converts a JSON parsed map to an error type.
New creates a new Client to the Asterisk ARI NATS proxy.
WithApplication configures the ARI Client to use the provided ARI Application.
WithLogger sets the logger on a Client.
WithLogHandler sets the logging handler on a Client logger.
WithNATS binds an existing NATS connection.
WithPrefix configures the NATS Prefix to use on a Client.
WithTimeoutRetries configures the amount of times to retry on request timeout for a Client.
WithURI sets the NATS URI to which the client will attempt to connect.

# Constants

DefaultInputBufferLength is the default size of the event buffer for events coming in from NATS.
DefaultRequestTimeout is the default timeout for a NATS request.

# Variables

ClosureGracePeriod is the amount of time to wait after the closure of the context to close the client.
DefaultClusterMaxAge is the default maximum age for cluster members to be considered by this client.
ErrNil indicates that the request returned an empty response.
ListenQueue is the queue group to use for distributing StasisStart events to Listeners.
Logger defaults to a discard handler (null output).

# Structs

Client provides an ari.Client for an ari-proxy server.

# Type aliases

OptionFunc is a function which configures options on a Client.