Documentation ¶
Overview ¶
Package server provides a proxy for ARI calls. It is usable via the client/nc Client and can use any given ari.Client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reply ¶
type Reply func(interface{}, error)
Reply is a function which, when called, replies to the request via the response object or error.
type Server ¶
type Server struct { // Application is the name of the ARI application of this server Application string // AsteriskID is the unique identifier for the Asterisk box // to which this server is connected. AsteriskID string // NATSPrefix is the string which should be prepended to all NATS subjects, sending and receiving. It defaults to "ari.". NATSPrefix string // Dialog is the dialog manager Dialog dialog.Manager // Log is the log15.Logger for the service. You may replace or call SetHandler() on this at any time to change the logging of the service. Log log15.Logger // contains filtered or unexported fields }
Server describes the asterisk-facing ARI proxy server
Source Files ¶
Click to show internal directories.
Click to hide internal directories.