package
module
Version:
v0.0.0-...-47cdb11
Opens a new window with list of versions in this module.
Published: Sep 25, 2016
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
aringo
Asterisk ARI connector
Documentation
¶
View Source
const (
HTTP_POST = "POST"
HTTP_GET = "GET"
HTTP_DELETE = "DELETE"
)
successive Fibonacci numbers.
func NewErrUnexpectedReplyCode(statusCode int) error
ARInGO represents one ARI connection/application
func NewARInGO(wsUrl, wsOrigin, username, password, userAgent string,
evChannel chan map[string]interface{}, errChannel chan error, connectAttempts, reconnects int) (ari *ARInGO, err error)
Call represents one REST call to Asterisk using httpClient call
If there is a reply from Asterisk it should be in form map[string]interface{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.