Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RequestTimeoutDefault = time.Second * 20
)
Functions ¶
This section is empty.
Types ¶
type ActionData ¶
func (ActionData) ActionID ¶
func (s ActionData) ActionID() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client object
type Event ¶
type Event struct { ActionData // contains filtered or unexported fields }
type EventListener ¶
type EventListener struct {
// contains filtered or unexported fields
}
type Originate ¶
type Originate struct { *OriginateRequest // contains filtered or unexported fields }
func (*Originate) IsFinished ¶
type OriginateRequest ¶
type OriginateRequest struct { Channel string Context string Exten string Priority string Timeout time.Duration CallerID string Variable json.Map Account string Application string Data string // contains filtered or unexported fields }
func (*OriginateRequest) Request ¶
func (s *OriginateRequest) Request() (res Request)
type Request ¶
type Request struct { ActionData Variables json.Map // contains filtered or unexported fields }
func InitRequest ¶
func (*Request) SetVariable ¶
func (*Request) SetVariables ¶
Click to show internal directories.
Click to hide internal directories.