Documentation ¶
Index ¶
- type Callback
- type Client
- func (v *Client) Callback(ctx context.Context, user, pwd, url string, 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 int64 `json:"msgid"` Num int `json:"pknum"` Total int `json:"pktotal"` Mobile string `json:"mobile"` SendTime string `json:"stime"` ReportTime string `json:"rtime"` Status string `json:"errcode"` Desc string `json:"errdesc"` }
Callback .
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client .
func (*Client) Callback ¶
func (v *Client) Callback(ctx context.Context, user, pwd, url string, count int) (callbacks []*Callback, err error)
Callback .
func (*Client) SendActSms ¶
SendActSms sends MengWang act sms.
func (*Client) SendBatchActSms ¶
func (v *Client) SendBatchActSms(ctx context.Context, r *smsmdl.ModelSend) (msgid string, err error)
SendBatchActSms sends multi MengWang act sms.
Click to show internal directories.
Click to hide internal directories.