Documentation ¶
Index ¶
- Variables
- type Nexmo
- func (this *Nexmo) Call() (error, NexmoResponse)
- func (this *Nexmo) SetCallBack(status_url string)
- func (this *Nexmo) SetGender(gender string)
- func (this *Nexmo) SetKeyAndSecret(key, secret string)
- func (this *Nexmo) SetLanguage(lg string)
- func (this *Nexmo) SetRepeat(times string)
- func (this *Nexmo) SetTo(to string)
- func (this *Nexmo) SetToChinaZoneCode(to string)
- func (this *Nexmo) SetVoiceMsg(msg string)
- type NexmoResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NexmoURL = "https://api.nexmo.com" VoiceURL = "/tts/json" )
Functions ¶
This section is empty.
Types ¶
type Nexmo ¶
type Nexmo struct { sync.Mutex Url string Lg string VoiceGender string Repeat string From string To string VoiceMsg string Status_url string Resp NexmoResponse // contains filtered or unexported fields }
func (*Nexmo) Call ¶
func (this *Nexmo) Call() (error, NexmoResponse)
func (*Nexmo) SetCallBack ¶
func (*Nexmo) SetKeyAndSecret ¶
func (*Nexmo) SetLanguage ¶
func (*Nexmo) SetToChinaZoneCode ¶
func (*Nexmo) SetVoiceMsg ¶
Click to show internal directories.
Click to hide internal directories.