Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStart ¶
type AppStart struct {
ServerID string `json:"server"`
DialogID string `json:"dialog"`
Application string `json:"application"`
AppArgs []string `json:"appargs"`
ChannelID string `json:"channel"` // The channel from the stasis start event
}
AppStart is the event sent on the start of an application and the creation of a server side dialog
type Dialog ¶
type Dialog struct {
ID string
Transport Transport
Objects Objects
ChannelID string // The channel ID from the StasisStart event
}
A Dialog is a session between the ARI proxy client and the ARI proxy server
type Message ¶
type Message struct {
Command string `json:"command"`
Object string `json:"object"`
Payload []byte `json:"payload"`
}
Message is the wrapper for a command sent over a dialog
Click to show internal directories.
Click to hide internal directories.