Documentation ¶
Index ¶
- type Callback
- type Client
- func (v *Client) Callback(ctx context.Context, account, pwd, url string, count int) (callbacks []*Callback, err error)
- func (v *Client) CallbackInternational(ctx context.Context, count int) (callbacks []*Callback, err error)
- func (v *Client) GetPid() int32
- func (v *Client) SendActSms(ctx context.Context, r *smsmdl.ModelSend) (msgid string, err error)
- func (v *Client) SendBatchActSms(ctx context.Context, r *smsmdl.ModelSend) (msgid string, err error)
- func (v *Client) SendInternationalSms(ctx context.Context, r *smsmdl.ModelSend) (msgid string, err error)
- func (v *Client) SendSms(ctx context.Context, r *smsmdl.ModelSend) (msgid string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback struct { MsgID string `json:"msgId"` Mobile string `json:"mobile"` Status string `json:"status"` Desc string `json:"statusDesc"` NotifyTime string `json:"notifyTime"` ReportTime string `json:"reportTime"` Length string `json:"length"` }
Callback .
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client .
func (*Client) Callback ¶
func (v *Client) Callback(ctx context.Context, account, pwd, url string, count int) (callbacks []*Callback, err error)
Callback sms callbacks.
func (*Client) CallbackInternational ¶
func (v *Client) CallbackInternational(ctx context.Context, count int) (callbacks []*Callback, err error)
CallbackInternational sms callbacks.
func (*Client) SendActSms ¶
SendActSms send act sms
func (*Client) SendBatchActSms ¶
func (v *Client) SendBatchActSms(ctx context.Context, r *smsmdl.ModelSend) (msgid string, err error)
SendBatchActSms send batch act sms
Click to show internal directories.
Click to hide internal directories.